太和e护注销登录

This commit is contained in:
czz
2025-08-11 16:22:35 +08:00
parent da6da14d6a
commit 101b60611a
8 changed files with 417 additions and 30 deletions

View File

@@ -396,7 +396,7 @@ class _BluetoothPageState extends State<BluetoothPage> {
);
} else if (obsData['bind_type'] == 2) {
// 删除弹窗
showDeleteDeviceConfirmDialog(
showDeleteDeviceConfirmDialog(
context: context,
title: "是否进行删除?".tr,
onConfirm: () async {

View File

@@ -263,10 +263,6 @@ class DeletedAccountPage extends GetView {
),
child: FFButtonWidget(
onPressed: () async {
// TopSlideNotification.show(
// context,
// text: "待开发功能".tr,
// );
showCustomConfirmDialog(context, "是否确认注销?".tr)
.then((v) async {
if (v != "confirm") {
@@ -287,19 +283,6 @@ class DeletedAccountPage extends GetView {
text: "注销账号失败".tr,
textColor: themeController.currentColor.sc9);
}
// if (code != null && code == 1) {
// final box = GetStorage();
// box.remove('user');
// box.remove('token');
// userInfoController.model.token = null;
// userInfoController.model.user = null;
// userInfoController.model.login = 0;
// userInfoController.model.message = 0;
// GlobalController globalController =
// Get.find<GlobalController>();
// globalController.resetParmAll();
// }
});
},
text: '注销账号'.tr,