diff --git a/App.vue b/App.vue
index bcacb59..e92ef80 100644
--- a/App.vue
+++ b/App.vue
@@ -9,8 +9,8 @@
this.$store.commit('getSpotList')
setInterval(() => {
- // this.$store.commit('getPosition')
- }, 5000)
+ this.$store.commit('getPosition')
+ }, 20000)
},
onHide: function() {
}
diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue
index 2248ec9..77680db 100644
--- a/components/base/tabbar.vue
+++ b/components/base/tabbar.vue
@@ -53,7 +53,7 @@
if(index == this.select){
return
}
- uni.redirectTo({
+ uni.reLaunch({
url: item.pagePath
})
},
diff --git a/components/tourGuide/locations.vue b/components/tourGuide/locations.vue
index 0047159..05ce150 100644
--- a/components/tourGuide/locations.vue
+++ b/components/tourGuide/locations.vue
@@ -69,7 +69,7 @@
v-if="show && spotGuide.length > 0">
@@ -125,7 +125,7 @@