|
|
@ -95,7 +95,7 @@ const ProjectModel = ({ dispatch, actions, user, modelData, close, success, proj |
|
|
|
{!modelData?.id && |
|
|
|
<> |
|
|
|
<Form.Item label='发布密码' name='password' initialValue={modelData?.password} |
|
|
|
rules={[{ required: true, }, { pattern: /^[a-zA-Z0-9]+$/, message: "请输入发布密码,至少6位数字或字母" }]} |
|
|
|
rules={[{ required: true, min: 6 }, { pattern: /^[a-zA-Z0-9]+$/, message: "请输入发布密码,至少6位数字或字母" }]} |
|
|
|
// rules={[{ required: true, message: '请输入发布密码' },]}
|
|
|
|
> |
|
|
|
<Input.Password autocomplete='new-password' onPaste={e => { |
|
|
|