morphone1995 4 years ago
parent
commit
052ee73720
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/login/Login.vue

+ 2 - 2
src/components/login/Login.vue

@@ -169,13 +169,13 @@
               if (res.status == 200) {
                 if (res.data.code == '10020000') { //未注册
                   this.$message({
-                    message: '该账号或手机号未注册!',
+                    message: '用户名或手机号未注册!',
                     type: 'error',
                     duration: 1000,
                   })
                 } else if (res.data.code == '10020001') { //密码错误
                   this.$message({
-                    message: res.data.msg,
+                    message: '用户名或密码不正确',
                     type: 'error',
                     duration: 1000,
                   })