1
This commit is contained in:
parent
cf84034643
commit
9fa33ff3da
@ -226,9 +226,14 @@ const DeploymentConfigModal: React.FC<DeploymentConfigModalProps> = ({
|
||||
key: {
|
||||
type: 'string',
|
||||
'x-decorator': 'FormItem',
|
||||
'x-validator': {
|
||||
pattern: '^[a-zA-Z][a-zA-Z0-9_]*$',
|
||||
message: '键名只能包含字母、数字和下划线,且必须以字母开头'
|
||||
},
|
||||
'x-component': 'Input',
|
||||
'x-component-props': {
|
||||
placeholder: '请输入键'
|
||||
placeholder: '请输入键',
|
||||
allowClear: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user