feat:alertMessage 上滑框 state 暂时默认给1

This commit is contained in:
zhangyu
2021-05-08 18:22:18 +08:00
parent 86c8e2211c
commit e980a7e303
12 changed files with 2 additions and 19 deletions

View File

@@ -292,13 +292,11 @@ export default {
})
},
receiverShowChange (val) {
console.log(val)
if (!val.length) {
this.$refs.alertRuleForm.validateField('method')
}
},
validateNotify (rule, value, callback) {
console.log(value)
if (this.editAlertRule.receiverShow.length && value.length === 0) {
callback(new Error(this.$t('validate.required')))
} else {