修改禅道bug

This commit is contained in:
qq787203167
2022-07-05 17:23:56 +08:00
parent c517fbe1ea
commit c3b28cee61
2 changed files with 9 additions and 0 deletions
@@ -327,6 +327,7 @@
this.$emit('addFormClick')
} else {
this.confirmLoading = false
this.$emit('addFormWarning')
if (res.message.indexOf('发布日期不能大于') >= 0) {
this.$message.warning(res.message)
} else if (res.message.indexOf('编号已存在') >= 0) {
@@ -337,6 +338,7 @@
}
})
} else {
this.$emit('addFormWarning')
return false
}
})