Commit 0c68ad61 by 冒粤蓉

fix

1 parent cef485d0
......@@ -94,7 +94,6 @@ const routes = [
component: () => import('../views/testDrive/checkList.vue'),
meta: {
title: '试驶线路审核',
pushState: true,
keepAlive: true
}
},
......
......@@ -487,9 +487,14 @@ export default {
message: '提交成功',
type: 'success'
});
}
history.go(-1)
} else {
this.$message({
message: res.message,
type: 'error'
});
}
this.submitting = false;
history.go(-1)
});
}else{
saveFence(this.getParams()).then((res)=>{
......@@ -499,9 +504,14 @@ export default {
message: '提交成功',
type: 'success'
});
}
history.go(-1)
} else {
this.$message({
message: res.message,
type: 'error'
});
}
this.submitting = false;
history.go(-1)
});
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!