Commit 5ad12391 authored by 耿迪迪's avatar 耿迪迪

定位定时刷新时间修改

parent 8a41c767
...@@ -631,7 +631,7 @@ export default { ...@@ -631,7 +631,7 @@ export default {
// 设置定时器,5s执行一次 // 设置定时器,5s执行一次
let timer = setInterval(() => { let timer = setInterval(() => {
this.getInspectorLocations(); this.getInspectorLocations();
}, 5000); }, 10000);
// 离开当前页面时销毁定时器 // 离开当前页面时销毁定时器
this.$once('hook:beforeDestroy', () => { this.$once('hook:beforeDestroy', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment