diff --git a/src/App.vue b/src/App.vue index 91b2a75..405d686 100644 --- a/src/App.vue +++ b/src/App.vue @@ -31,6 +31,7 @@ const route = useRoute(); const bbTime = ref(null); //查询报备定时函数 let userInfo; let message = ref("版本已经更新,请退出重新登录!"); +let userLocation; try { userInfo = JSON.parse(window.localStorage.getItem("userInfo")); //用户信息 userLocation = JSON.parse(bridge.getLocation()); //手机端 diff --git a/src/pages/patrolList/index.vue b/src/pages/patrolList/index.vue index 887ca5c..0d3bd69 100644 --- a/src/pages/patrolList/index.vue +++ b/src/pages/patrolList/index.vue @@ -1,6 +1,7 @@