@@ -186,7 +186,7 @@ Page({
goIndex() {
// BLUFI_7cdfa1fd3cfc
- app.globalData.newDeviceId = this.data.name;
+ app.globalData.newDeviceId = this.data.name;
route_util.goBackRoute(route_constant.indexRoot);
}
})
@@ -803,6 +803,7 @@ Page({
/// 断开连接wifi
async cancelWifi(index) {
+ var that = this;
const id = that.data.deviceList[index].deviceId;
let name = that.data.deviceListIndex !== null ? that.data.deviceList[that.data.deviceListIndex].name : null;