gcz 3 gadi atpakaļ
vecāks
revīzija
18d90deae0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      pages/deviceList/deviceListType3/deviceInfo.vue

+ 1 - 1
pages/deviceList/deviceListType3/deviceInfo.vue

@@ -217,7 +217,7 @@
 				})
 			},
 			modalConfirm(){
-				this.$u.api.controlDevice({roadwayNo:this.roadNo,command:this.command}).then(res=>{
+				this.$u.api.controlDevice({roadwayNo:this.pageData.roadwayNo,command:this.command}).then(res=>{
 					uni.showToast({
 						icon:'none',
 						title:res.msg