Explorar el Código

Merge branch 'master' of http://git.huaml.com/zhh/front-end

shish hace 4 años
padre
commit
55818eaeb4
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      ghsApp/src/admin/home/login.vue

+ 5 - 0
ghsApp/src/admin/home/login.vue

@@ -267,6 +267,11 @@ export default {
 					// 预登录失败
 					//如果手机没有插入有效的sim卡,或者手机蜂窝数据网络关闭
 					//都有可能造成预登录校验失败
+					console.log(res)
+					if (res.code == 3005) {
+						that.$msg(res.metadata.resultMsg)
+						return false
+					}
 				}
 			})
 		},