修改禅道bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user