From e97770267df3a2fa821750dff389854c76c56a77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Wed, 28 Aug 2024 19:43:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B5=84=E4=BA=A7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E9=98=B5=E5=9C=B0=E5=85=AC=E7=BD=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webs/ams-web/src/views/AmsPosition.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webs/ams-web/src/views/AmsPosition.vue b/webs/ams-web/src/views/AmsPosition.vue index 3aae501..77f50a0 100644 --- a/webs/ams-web/src/views/AmsPosition.vue +++ b/webs/ams-web/src/views/AmsPosition.vue @@ -60,7 +60,10 @@ export default { addStorageEvent('selectPostion', '') } } - // init() + // 公网环境开启,现场环境暂不开启 + if (window.location.href.indexOf('101.89.218.38:60006') > -1 || window.location.href.indexOf('yw.iaserver.online') > -1) { + init() + } onUnmounted(() => { // addStorageEvent('isLeaderPosition', '') // addStorageEvent('selectPostion', '')