lilei 4 år sedan
förälder
incheckning
d7fe7502af

+ 5 - 0
pages/shopTour/shopTour.vue

@@ -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()

+ 0 - 1
pages/signIn/signIn.vue

@@ -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();
 				}

+ 3 - 0
pages/spotCheck/spotCheck.vue

@@ -123,6 +123,9 @@
 			this.storeId = options.storeId
 			this.storeName = options.storeName
 		},
+		onUnload() {
+			uni.$off("closeTour")
+		},
 		onReady() {
 			let _this = this
 			// #ifdef APP-PLUS

+ 3 - 0
pages/spotCheckCenter/spotChecking.vue

@@ -80,6 +80,9 @@ export default {
 			this.getRow(1);
 		})
 	},
+	onUnload() {
+		uni.$off("updatePointTaskList")
+	},
 	methods: {
 		message(title) {
 			uni.showToast({

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
unpackage/dist/dev/app-plus/app-service.js


Vissa filer visades inte eftersom för många filer har ändrats