|
@@ -40,7 +40,11 @@
|
|
</footer>
|
|
</footer>
|
|
</main>
|
|
</main>
|
|
|
|
|
|
- <el-dialog title="提示" :visible.sync="dialogVisible" width="30%">
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
+ title="请输入手机短信验证码"
|
|
|
|
+ :visible.sync="dialogVisible"
|
|
|
|
+ width="30%"
|
|
|
|
+ >
|
|
<input
|
|
<input
|
|
@keyup.enter="loginWithSms"
|
|
@keyup.enter="loginWithSms"
|
|
type="number"
|
|
type="number"
|
|
@@ -134,7 +138,10 @@ export default {
|
|
});
|
|
});
|
|
})
|
|
})
|
|
.catch(error => {
|
|
.catch(error => {
|
|
- if (error.response.data.code === "B-003100") {
|
|
|
|
|
|
+ if (
|
|
|
|
+ error.response.data.code === "B-003100" ||
|
|
|
|
+ error.response.data.code === "B-EX-102008"
|
|
|
|
+ ) {
|
|
this.dialogVisible = true;
|
|
this.dialogVisible = true;
|
|
}
|
|
}
|
|
});
|
|
});
|