src/components/page/Login.vue
@@ -59,6 +59,7 @@ if (valid) { var url = this.$systemconfig.basePath + '/ffzf/user/login'; this.$byutil.postData(this,url,this.ruleForm,res=>{ if (res.code == 0) { let data = res.data; if (data) { localStorage.userId = data.id; @@ -75,6 +76,10 @@ // this.$router.push({'path': '/index'}); // } } }else { this.$message.error(res.msg); } }) } else { return false;