forked from Gitlink/forgeplus-react
上传图片地址修改
This commit is contained in:
parent
217e11d605
commit
354e988ca0
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue