瀏覽代碼

参数跳转

gcz 3 年之前
父節點
當前提交
18d90deae0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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