diff --git a/webs/ams-web/src/views/AmsPosition.vue b/webs/ams-web/src/views/AmsPosition.vue index 77f50a0..3aae501 100644 --- a/webs/ams-web/src/views/AmsPosition.vue +++ b/webs/ams-web/src/views/AmsPosition.vue @@ -60,10 +60,7 @@ export default { addStorageEvent('selectPostion', '') } } - // 公网环境开启,现场环境暂不开启 - if (window.location.href.indexOf('101.89.218.38:60006') > -1 || window.location.href.indexOf('yw.iaserver.online') > -1) { - init() - } + // init() onUnmounted(() => { // addStorageEvent('isLeaderPosition', '') // addStorageEvent('selectPostion', '')