Commit 48a6ff1a authored by huangyuanyuan's avatar huangyuanyuan

update

parent e81904b6
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
SubmitOK(){ SubmitOK(){
let that=this; let that=this;
this.$refs['ruleForm'].validate((valid) => { this.$refs['ruleForm'].validate((valid) => {
console.log(valid);
if (valid) { if (valid) {
if(that.ruleForm.departureName==""){ if(that.ruleForm.departureName==""){
this.Error("请选择出发地!") this.Error("请选择出发地!")
...@@ -471,7 +471,6 @@ export default { ...@@ -471,7 +471,6 @@ export default {
return; return;
} }
return
if(that.isLogin==0){ if(that.isLogin==0){
this.Error("请先登录!") this.Error("请先登录!")
this.$router.push({name:'login'}) this.$router.push({name:'login'})
...@@ -497,7 +496,6 @@ export default { ...@@ -497,7 +496,6 @@ export default {
null null
); );
} else { } else {
return false; return false;
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment