ソースを参照

修复去掉中间页面后少传参数

gcz 2 年 前
コミット
a7af0576c4

+ 4 - 4
common/config.js

@@ -1,11 +1,11 @@
 const node_dev = process.env.H_NODE_ENV;
 //运行到浏览器用的
 // 64
-let baseUrl='https://wx.hw.hongweisoft.com/parking';
-let upFileUrl='https://wx.hw.hongweisoft.com/ycpharmacy/file/upload/single/minio';
+// let baseUrl='https://wx.hw.hongweisoft.com/parking';
+// let upFileUrl='https://wx.hw.hongweisoft.com/ycpharmacy/file/upload/single/minio';
 // 正式
-// let baseUrl='https://parking.pdzhtc.com';
-// let upFileUrl='https://parking.pdzhtc.com/file/tencent/upload';
+let baseUrl='https://parking.pdzhtc.com';
+let upFileUrl='https://parking.pdzhtc.com/file/tencent/upload';
 //打包用的
 if (node_dev) {
  baseUrl = process.env.H_BASE_URL;

+ 1 - 3
pages/deviceList/deviceListType1/deviceListType1.vue

@@ -94,9 +94,7 @@
 			if(page.roadNo){
 				this.roadNo = page.roadNo
 			}
-			if(page.deviceType){
-				this.deviceType = page.deviceType
-			}
+			this.deviceType = 1;
 			this.getRoadList()
 		},
 		onShow(){

+ 1 - 3
pages/deviceList/deviceListType2/deviceListType2.vue

@@ -116,9 +116,7 @@
 			if(page.roadNo){
 				this.roadNo = page.roadNo
 			}
-			if(page.deviceType){
-				this.deviceType = page.deviceType
-			}
+			this.deviceType = 2;
 			this.getRoadList()
 		},
 		onShow(){