Просмотр исходного кода

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

程志平 4 лет назад
Родитель
Сommit
32f37fb17d
1 измененных файлов с 2 добавлено и 2 удалено
  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
 						})
 						})