|
@@ -308,6 +308,7 @@ const forgetPwd = () => {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.state == 200) {
|
|
|
+ checkPwdErrorMsg.value = '';
|
|
|
//成功提示,并返回到登录页面
|
|
|
showMessage({
|
|
|
message: L["register"]["重置成功"],
|
|
@@ -316,10 +317,11 @@ const forgetPwd = () => {
|
|
|
emits("success");
|
|
|
} else {
|
|
|
//提示错误
|
|
|
- showMessage({
|
|
|
- message: res.msg,
|
|
|
- type: "error",
|
|
|
- });
|
|
|
+ checkPwdErrorMsg.value = res.msg;
|
|
|
+ // showMessage({
|
|
|
+ // message: res.msg,
|
|
|
+ // type: "error",
|
|
|
+ // });
|
|
|
}
|
|
|
})
|
|
|
.finally(() => {
|
|
@@ -466,11 +468,15 @@ watch(emailCode, (val) => {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
color: #fff;
|
|
|
- background: $colorMain;
|
|
|
+ background-color: $colorMain;
|
|
|
border-left: none;
|
|
|
border-radius: 0;
|
|
|
font-size: 12px;
|
|
|
|
|
|
+ &.is-disabled {
|
|
|
+ background-color: #909399;
|
|
|
+ }
|
|
|
+
|
|
|
&:hover {
|
|
|
// border-color: #e8e8e8;
|
|
|
// color: $colorMain;
|