From 354e988ca011b1e11a1d50a5eee191da5cb1ecde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 15 Jun 2023 10:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/UrlTool.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/UrlTool.js b/src/common/UrlTool.js index 78a105fd5..d98c29302 100644 --- a/src/common/UrlTool.js +++ b/src/common/UrlTool.js @@ -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) {