处理输入wifi密码切换时的BUG
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user