@@ -241,8 +241,13 @@
this.storeId = options.storeId
this.restart = options.restart
},
+ onUnload() {
+ uni.$off("resetTaskKpItem")
+ uni.$off("closeTour")
+ },
onReady() {
let _this = this
+ _this.isClose = false
// #ifdef APP-PLUS
//获取当前页面的webview对象
var currentWebview = this.$mp.page.$getAppWebview()
@@ -94,7 +94,6 @@ export default {
uni.redirectTo({
url: '/pages/shopTour/shopTour?storeId=' + this.stores.id + '&types=scene'
})
- uni.$emit("closeTour",1)
} else {
this.isOutRange();
}
@@ -123,6 +123,9 @@
this.storeName = options.storeName
@@ -80,6 +80,9 @@ export default {
this.getRow(1);
+ uni.$off("updatePointTaskList")
methods: {
message(title) {
uni.showToast({