Kaynağa Gözat

修复电子督察单,设备报修真机运行返回按钮一场bug

ming 2 yıl önce
ebeveyn
işleme
9be0ef7ebe

+ 6 - 6
pages/inspectList/processList/processList.vue

@@ -123,12 +123,12 @@
 				
 			}
 		},
-		onBackPress(event) {
-			uni.reLaunch({
-				url: "/"
-			})
-			return true;
-		},
+		// onBackPress(event) {
+		// 	uni.reLaunch({
+		// 		url: "/"
+		// 	})
+		// 	return true;
+		// },
 		onLoad: function(option) {
 			this.type=option.type;
 			if(option.type==1){

+ 6 - 6
pages/repair/repair.vue

@@ -89,12 +89,12 @@
 			
 			};
 		},
-		onBackPress(event) {
-			uni.reLaunch({
-				url: "/"
-			})
-			return true;
-		},
+		// onBackPress(event) {
+		// 	uni.reLaunch({
+		// 		url: "/"
+		// 	})
+		// 	return true;
+		// },
 		onLoad:function(option){
 			this.goRepairList({'company_code':uni.getStorageSync('selectedCode')})
 		},