Explorar o código

【修复】微信扫描进入启动设备修复。

程志平 %!s(int64=4) %!d(string=hai) anos
pai
achega
32f37fb17d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pages/reshui/reshui.vue

+ 2 - 2
pages/reshui/reshui.vue

@@ -781,7 +781,7 @@
 						// 	title: '停止蓝牙搜索',
 						// 	title: '停止蓝牙搜索',
 						// 	duration: 2000
 						// 	duration: 2000
 						// })
 						// })
-						if (this.get_Bluetooth_Bevice == true) {
+						if (this.get_Bluetooth_Bevice == true || this.device_code) {
 							this.createBLEConnection()
 							this.createBLEConnection()
 						} else {
 						} else {
 							this.get_room()
 							this.get_room()
@@ -1016,7 +1016,7 @@
 
 
 						uni.showToast({
 						uni.showToast({
 							icon: 'none',
 							icon: 'none',
-							title: '需要启动请点【开启设备】开关',
+							title: '需要启动请点【开启设备】开关',
 							duration: 3000
 							duration: 3000
 						})
 						})