Commit de650ac2 authored by 周宏民's avatar 周宏民

fix: 短信验证码错误处理

parent d698ac3f
Pipeline #94712 passed with stages
......@@ -191,9 +191,11 @@ const LoginItem = props => {
client,
})
.then(res => {
if (res) {
if (res?.isSuccess) {
setExt(res.ext);
setTiming(true);
} else {
res?.msg && message.error(res.msg);
}
})
.catch(error => {
......@@ -209,9 +211,11 @@ const LoginItem = props => {
client,
})
.then(res => {
if (res) {
if (res?.isSuccess) {
setExt(res.ext);
setTiming(true);
} else {
res?.msg && message.error(res.msg);
}
})
.catch(error => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment