mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-25 23:36:05 +08:00
fix: 计划任务名称禁用空格 (#3710)
This commit is contained in:
parent
36a253ce03
commit
a6891711b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue