Browse Source

遗漏bug

zhengkaixin 11 months ago
parent
commit
2ef158bac8
2 changed files with 4 additions and 3 deletions
  1. 1 1
      config/.env.dev.js
  2. 3 2
      pages/abnormal/abnormalContrastDetails.vue

+ 1 - 1
config/.env.dev.js

@@ -5,7 +5,7 @@ const UNI_APP = {
 	BASE_URL: 'https://charging.xiaoxinda.com/electric-manager-api/', //test
 	BASE_URL: 'https://dgj.hbjp.com.cn/electric-manager-api/',
 	
-	BASE_URL:'http://192.168.77.162:8081/electric-manager-api/', //sz
+	//BASE_URL:'http://192.168.77.162:8081/electric-manager-api/', //sz
 	
 	NODE_ENV :"dev",
 	SIMPLE_RUN:true,// 无视权限控制跳转页面   , 用于样式人员快速访问各种功能 ,快速测试等

+ 3 - 2
pages/abnormal/abnormalContrastDetails.vue

@@ -61,7 +61,7 @@
 							 </td>
 							
 						  </tr> 
-						   <tr v-for="(item1,j) in childDcMap" :key="i" :class="{
+						   <tr v-for="(item1,j) in childDcMap" :key="j" :class="{
 							   childDcMap:j==0
 						   }">
 							 <td >{{item1.meterName}}</td>
@@ -193,7 +193,8 @@
 				})
 				API.alarmRecordTPUDetails({
 					meterId: this.id,
-					//	id:id,
+					//	id:id,
+					queryNum:this.queryNum
 				}).then((response) => {
 					uni.hideLoading();
 					this.childDcMap = response.data.childDcMap;