Ver Fonte

改回原来的蓝牙配网后手动扫描设备二维码绑定设备

htc há 1 dia atrás
pai
commit
4d3e807137
1 ficheiros alterados com 11 adições e 11 exclusões
  1. 11 11
      pagesMy/wifiSet.vue

+ 11 - 11
pagesMy/wifiSet.vue

@@ -124,19 +124,19 @@
 						else {
 							if (options.data.progress == 100) {
 								uni.setStorageSync(that.wifiSSID,that.wifiPWD)
-								// uni.navigateTo({
-								// 	url:'/pagesMy/wifiSuccess'
-								// })
-								
-								let result = { 
-									"macAddress": this.connectedDeviceId||'', 
-									"board": this.name||"cx-mxb-wifi", 
-									"appVersion": "1.8.2" ,
-								};
-								console.log(result,'配网成功')
 								uni.navigateTo({
-									url:'/pagesMy/scanResult?scanParams='+JSON.stringify(result)+'&type=lanya'+'&pwtype='+this.type
+									url:'/pagesMy/wifiSuccess'
 								})
+								
+								// let result = { 
+								// 	"macAddress": this.connectedDeviceId||'', 
+								// 	"board": this.name||"cx-mxb-wifi", 
+								// 	"appVersion": "1.8.2" ,
+								// };
+								// console.log(result,'配网成功')
+								// uni.navigateTo({
+								// 	url:'/pagesMy/scanResult?scanParams='+JSON.stringify(result)+'&type=lanya'+'&pwtype='+this.type
+								// })
 							}
 						}
 						break;