Commit 48a6ff1a authored by huangyuanyuan's avatar huangyuanyuan

update

parent e81904b6
......@@ -460,7 +460,7 @@ export default {
SubmitOK(){
let that=this;
this.$refs['ruleForm'].validate((valid) => {
console.log(valid);
if (valid) {
if(that.ruleForm.departureName==""){
this.Error("请选择出发地!")
......@@ -471,7 +471,6 @@ export default {
return;
}
return
if(that.isLogin==0){
this.Error("请先登录!")
this.$router.push({name:'login'})
......@@ -497,7 +496,6 @@ export default {
null
);
} else {
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