This commit is contained in:
wenyann 2020-05-27 10:46:53 +08:00
parent 72f65ec968
commit 42d1b1ece1
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export default {
} }
let login = function () { let login = function () {
MessageBox.alert("认证信息已过期,请重新登录。", { MessageBox.error({message: this.$t('commons.tips')}, {
callback: () => { callback: () => {
window.location.href = "/login" window.location.href = "/login"
} }
@ -29,6 +29,7 @@ export default {
} }
return response; return response;
}, error => { }, error => {
Message.error({message: this.$t('commons.tips')});
return Promise.reject(this.$t('commons.tips')); return Promise.reject(this.$t('commons.tips'));
}); });