Commit ff878714 by 冒粤蓉

fix

1 parent ecc180f7
...@@ -820,9 +820,14 @@ export default{ ...@@ -820,9 +820,14 @@ export default{
message: '提交成功', message: '提交成功',
type: 'success' type: 'success'
}); });
this.$router.push({path:"fenceManagement"})
} else {
this.$message({
message: res.message,
type: 'error'
});
} }
this.submitting = false; this.submitting = false;
this.$router.push({path:"fenceManagement"})
}); });
}else{ }else{
MONITOR_SERVICE.saveFence(this.getParams()).then((res)=>{ MONITOR_SERVICE.saveFence(this.getParams()).then((res)=>{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!