fix: 计划任务名称禁用空格 (#3710)

pull/3714/head
ssongliu 10 months ago committed by GitHub
parent 36a253ce03
commit a6891711b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -454,7 +454,7 @@ const verifySpec = (rule: any, value: any, callback: any) => {
}; };
const rules = reactive({ const rules = reactive({
name: [Rules.requiredInput], name: [Rules.requiredInput, Rules.noSpace],
type: [Rules.requiredSelect], type: [Rules.requiredSelect],
spec: [ spec: [
{ validator: verifySpec, trigger: 'blur', required: true }, { validator: verifySpec, trigger: 'blur', required: true },

Loading…
Cancel
Save