[update] 修改流程中formModel的日期校验从[change,blur]变成change
This commit is contained in:
@@ -667,13 +667,6 @@ export default {
|
||||
message: res.dbFieldTxt + this.$t('cannotEmpty'),
|
||||
trigger: 'blur'
|
||||
})
|
||||
} else if (res.fieldShowType === FieldType.DATE_SINGLE.value) {
|
||||
// 解决第一次校验不消失的问题
|
||||
rule.push({
|
||||
required: true,
|
||||
message: res.dbFieldTxt + this.$t('cannotEmpty'),
|
||||
trigger: ['change', 'blur']
|
||||
})
|
||||
} else {
|
||||
rule.push({
|
||||
required: true,
|
||||
|
||||
Reference in New Issue
Block a user