瀏覽代碼

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

ming 2 年之前
父節點
當前提交
9be0ef7ebe
共有 2 個文件被更改,包括 12 次插入12 次删除
  1. 6 6
      pages/inspectList/processList/processList.vue
  2. 6 6
      pages/repair/repair.vue

+ 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')})
 		},