修改设备信息 其他页面刷新
This commit is contained in:
@@ -189,7 +189,7 @@ class _RoomPickerPageState extends State<RoomPickerPage> {
|
||||
"roomId": rooms[selectedIndex]['_id'],
|
||||
},
|
||||
onSuccess: (res) {
|
||||
Get.back();
|
||||
|
||||
TopSlideNotification.show(context,
|
||||
text: "更新成功".tr,
|
||||
textColor: Color(0XFF00C1AA));
|
||||
@@ -202,7 +202,7 @@ class _RoomPickerPageState extends State<RoomPickerPage> {
|
||||
} catch (e) {
|
||||
ef.log("[h5]通知列表更新错误:$e");
|
||||
}
|
||||
Get.toNamed('bluetoothPage');
|
||||
Get.back(result:editedData);
|
||||
},
|
||||
onFailure: (res) {
|
||||
TopSlideNotification.show(context,
|
||||
|
||||
Reference in New Issue
Block a user