更新
This commit is contained in:
@@ -9,6 +9,7 @@ import 'package:vbvs_app/component/tool/TopSlideNotification.dart';
|
||||
import 'package:vbvs_app/controller/mh_controller/device_list_controller.dart';
|
||||
import 'package:vbvs_app/model/api_response.dart';
|
||||
import 'package:vbvs_app/pages/device_bind/componnet/bind_dialog.dart';
|
||||
import 'package:vbvs_app/pages/mh_page/test/WebviewTestModel.dart';
|
||||
|
||||
class BluetoothPage extends GetView {
|
||||
Map data;
|
||||
@@ -177,6 +178,16 @@ class BluetoothPage extends GetView {
|
||||
.unbindDevice(data);
|
||||
await deviceListController
|
||||
.getDeviceList();
|
||||
try {
|
||||
WebviewTestController
|
||||
webviewTestController =
|
||||
Get.find();
|
||||
webviewTestController
|
||||
.web.jsbridge?.dart
|
||||
.unBindDevice();
|
||||
} catch (e) {
|
||||
ef.log("[h5]通知列表更新报错:$e");
|
||||
}
|
||||
Get.toNamed("/mianPageBottomChange");
|
||||
// 执行解绑逻辑
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user