修改禅道已知bug
This commit is contained in:
@@ -508,4 +508,5 @@ module.exports = {
|
||||
labelNameCannotDuplicate:'Label name cannot be duplicate',
|
||||
list:'list',
|
||||
paragraph:'paragraph',
|
||||
theRelease:'The release date should not exceed the standard implementation date'
|
||||
}
|
||||
@@ -512,5 +512,5 @@ module.exports = {
|
||||
labelNameCannotDuplicate:'标签名称不能重复',
|
||||
list:'列表',
|
||||
paragraph:'段落',
|
||||
|
||||
theRelease:'发布日期不能大于标准实施日期'
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user