修改禅道已知bug

This commit is contained in:
qq787203167
2022-03-10 09:46:26 +08:00
parent 39cec7480e
commit 993b79b8c9
3 changed files with 8 additions and 3 deletions
@@ -294,7 +294,7 @@
},
methods: {
disabledDate(current) {
return current && current < moment().subtract(1,"day");
return current && current < moment().subtract(1, 'day')
},
sumber() {
this.$refs.ruleForm.validate(valid => {
@@ -317,7 +317,11 @@
eventBUs.$emit('searchReset')
this.$emit('addFormClick')
} else {
this.$message.warning(this.$t('operationFailed'))
if (res.message == '发布日期不能大于标准实施日期') {
this.$message.warning(this.$t('theRelease'))
} else {
this.$message.warning(this.$t('operationFailed'))
}
}
})
} else {