mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
fix:登录失败错误信息显示
This commit is contained in:
parent
4d0bef62ed
commit
5bba864faa
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ export default {
|
|||
this.$store.commit('setToken', JSON.stringify(data.data));
|
||||
goToPage('/home');
|
||||
}, (err) => {
|
||||
showDanger(err.data.msg || '登录失败')
|
||||
if (err.data != null && err.data.msg != null && err.data.msg.indexOf('图形验证码') > -1) {
|
||||
this.fetchCaptcha()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue