更新绑定时候选择房间和设置房间名称

This commit is contained in:
wyf
2025-07-19 17:43:22 +08:00
parent 1fe904af00
commit 32bad1834d
5 changed files with 307 additions and 147 deletions

View File

@@ -195,7 +195,12 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
TopSlideNotification.show(context, text: "保存成功");
MHTHomeController mhtHomeController = Get.find();
mhtHomeController.getPersonList();
Get.offNamed("/bindDeviceSuccess");
// Get.offNamed("/bindDeviceSuccess");
Map data = {};
final device = bluetoothController.currentFullDevice;
data['_id'] = device!.deviceID;
data['isNextStep'] = true;
Get.toNamed("/editBedPage", arguments: data);
},
colors: const [
Color(0xFFFCFCFC),