处理输入wifi密码切换时的BUG

This commit is contained in:
17792275749
2025-05-29 09:15:19 +08:00
parent f9c22f1da4
commit 3caf082c24
4 changed files with 42 additions and 41 deletions
+1 -7
View File
@@ -2,8 +2,6 @@ const app = getApp();
Page({
data: {
getDeviceSetting: false,
initText: "",
devicesList: [],
searchDevicesList: true,
@@ -14,11 +12,7 @@ Page({
},
onShow() {
if (this.data.getDeviceSetting) {
this.getDeviceSettingList();
} else {
this.checkBluetoothPermissionAndInit();
}
this.checkBluetoothPermissionAndInit();
},
checkBluetoothPermissionAndInit() {