Browse Source

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

pull/3714/head
ssongliu 10 months ago committed by GitHub
parent
commit
a6891711b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      frontend/src/views/cronjob/operate/index.vue

2
frontend/src/views/cronjob/operate/index.vue

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

Loading…
Cancel
Save