fix: login报错国际化修改

This commit is contained in:
刘洪洪
2024-09-26 17:41:34 +08:00
parent df9857ea16
commit b4dc89f548

View File

@@ -141,7 +141,7 @@ export default {
this.loading = false
this.blockOperation.query = false
if (_.get(e, 'response.data.code', 0) === 518005) {
this.$message.error(this.$t('Incorrect username or password'))
this.$message.error(this.$t('tip.incorrectUsernameOrPassword'))
} else {
this.$message.error(this.errorMsgHandler(e))
}