Commit 8aac1917 by fukai

补充校验成功提示

parent 2f57733b
......@@ -57,7 +57,16 @@ export default {
if (result.respCode == SUCCESS) {
const fieldErrors = result.fieldErrors;
this.updateModel(result.data);
if(fieldErrors && Object.keys(fieldErrors).length == 0){
this.$notify({
title: "成功",
message: "校验成功",
type: "success",
});
reutrn
}
const tab = this.showBackendErrors(fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
......
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