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', '')