上传图片地址修改

This commit is contained in:
黄心宇 2023-06-15 10:48:00 +08:00
parent 217e11d605
commit 354e988ca0
1 changed files with 5 additions and 5 deletions

View File

@ -133,11 +133,11 @@ export function getUrl(path, goTest) {
}
export function getZoneUrl(path) {
const local = 'https://testgetway.trustie.net'
if (isDev) {
return `${local}${path?path:''}`
}
return `${path ? path: ''}`;
let settings = localStorage.chromesetting&&JSON.parse(localStorage.chromesetting);
let actionUrl = settings && settings.common.zone;
return `${actionUrl}${path?path:''}`
}
export function getUrlmys(path, goTest) {