修改设备信息 其他页面刷新

This commit is contained in:
czz
2025-07-01 09:01:24 +08:00
parent 0e0f475536
commit a56e2b6eea
2 changed files with 39 additions and 23 deletions

View File

@@ -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,