feat: 增加发送验证码的样式,调试设备限制数量

This commit is contained in:
2025-11-28 01:25:20 -08:00
parent 55d7508807
commit c058c2cea6
6 changed files with 24 additions and 14 deletions
@@ -326,6 +326,12 @@ class KRLoginController extends GetxController
either.fold((l) {
KRCommonUtil.kr_showToast(l.msg);
}, (r) async {
HIDialog.show(
title: '*重要提示',
message:
'验证邮件已发送至邮箱,如无法找到,请检查垃圾邮件箱或营销邮件箱。',
);
_startCountdown();
});
}
@@ -388,7 +394,13 @@ class KRLoginController extends GetxController
);
either.fold(
(l) => KRCommonUtil.kr_showToast(l.msg),
(l) {
HIDialog.show(
message: l.msg,
preventBackDismiss: true,
confirmText: '确定',
);
},
(r) async {
_saveLoginData(r);
KRCommonUtil.kr_showToast('登录成功');