cfel-base-components 2.5.16 → 2.5.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -154,6 +154,7 @@ export default function Index({
|
|
|
154
154
|
<Form.Item
|
|
155
155
|
label={null}
|
|
156
156
|
name={key}
|
|
157
|
+
hasFeedback
|
|
157
158
|
rules={[
|
|
158
159
|
{ required: required, message: '请输入' },
|
|
159
160
|
{
|
|
@@ -163,7 +164,7 @@ export default function Index({
|
|
|
163
164
|
]}
|
|
164
165
|
extra='密码要求至少包含英文字母和数字,字符数8-32位'
|
|
165
166
|
>
|
|
166
|
-
<Input placeholder='请输入' />
|
|
167
|
+
<Input.Password placeholder='请输入' />
|
|
167
168
|
</Form.Item>
|
|
168
169
|
)
|
|
169
170
|
break
|
|
@@ -215,6 +216,7 @@ export default function Index({
|
|
|
215
216
|
const closeModel = () => {
|
|
216
217
|
form.resetFields()
|
|
217
218
|
editOpenStatus(false)
|
|
219
|
+
setPasswordType('server')
|
|
218
220
|
}
|
|
219
221
|
const generateRandomString = (minLength = 8, maxLength = 32) => {
|
|
220
222
|
const length = Math.floor(Math.random() * (maxLength - minLength + 1)) + minLength
|
|
@@ -116,6 +116,7 @@ export default function Index({
|
|
|
116
116
|
<Form.Item
|
|
117
117
|
label={null}
|
|
118
118
|
name={key}
|
|
119
|
+
hasFeedback
|
|
119
120
|
rules={[
|
|
120
121
|
{ required: required, message: '请输入' },
|
|
121
122
|
{
|
|
@@ -125,7 +126,7 @@ export default function Index({
|
|
|
125
126
|
]}
|
|
126
127
|
extra='密码要求至少包含英文字母和数字,字符数8-32位'
|
|
127
128
|
>
|
|
128
|
-
<Input placeholder='请输入' />
|
|
129
|
+
<Input.Password placeholder='请输入' />
|
|
129
130
|
</Form.Item>
|
|
130
131
|
)
|
|
131
132
|
break
|
|
@@ -146,6 +147,7 @@ export default function Index({
|
|
|
146
147
|
form.resetFields()
|
|
147
148
|
editOpenStatus(false)
|
|
148
149
|
setStepNext(false)
|
|
150
|
+
setPasswordType('server')
|
|
149
151
|
}
|
|
150
152
|
const generateRandomString = (minLength = 8, maxLength = 32) => {
|
|
151
153
|
const length = Math.floor(Math.random() * (maxLength - minLength + 1)) + minLength
|