太和e护注销登录
This commit is contained in:
@@ -396,7 +396,7 @@ class _BluetoothPageState extends State<BluetoothPage> {
|
||||
);
|
||||
} else if (obsData['bind_type'] == 2) {
|
||||
// 删除弹窗
|
||||
showDeleteDeviceConfirmDialog(
|
||||
showDeleteDeviceConfirmDialog(
|
||||
context: context,
|
||||
title: "是否进行删除?".tr,
|
||||
onConfirm: () async {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user