perf: 细节调整

This commit is contained in:
chenjinsong
2021-08-29 22:19:26 +08:00
parent 56edec4ede
commit de7392821d
3 changed files with 2 additions and 4 deletions

View File

@@ -68,11 +68,11 @@ export default {
this.loginSuccess(res)
localStorage.setItem('cn-username', this.username)
} else if (res.code === 518005) {
this.$message.error(this.$t('tip.incorrectUsernameOrPassword'))
this.$message.error(this.$t('Incorrect username or password'))
this.loading = false
this.blockOperation.query = false
} else {
this.$message.error(this.$t('tip.unknownError'))
this.$message.error('Unknown error')
this.loading = false
this.blockOperation.query = false
}