fix: 修复应用地址转换不正确的问题

This commit is contained in:
kuaifan 2025-07-10 20:21:52 +08:00
parent f1cfba3ad8
commit c3ac7dd1ab

View File

@ -4682,6 +4682,7 @@ export default {
}
const serverLocation = new URL($A.mainUrl(''))
data.url = data.url
.replace(/^\/+/, '')
.replace(/^\:(\d+)/ig, (_, port) => {
return serverLocation.protocol + '//' + serverLocation.hostname + ':' + port;
})