cfel-base-components 2.5.18 → 2.5.20
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
|
@@ -126,7 +126,7 @@ export default function Index({
|
|
|
126
126
|
]}
|
|
127
127
|
extra='密码要求至少包含英文字母和数字,字符数8-32位'
|
|
128
128
|
>
|
|
129
|
-
<Input.Password placeholder='请输入' />
|
|
129
|
+
<Input.Password placeholder='请输入' maxLength={32} minLength={8}/>
|
|
130
130
|
</Form.Item>
|
|
131
131
|
)
|
|
132
132
|
break
|
|
@@ -218,7 +218,7 @@ export default function Index({
|
|
|
218
218
|
>
|
|
219
219
|
{stepNext && (
|
|
220
220
|
<Alert
|
|
221
|
-
description='
|
|
221
|
+
description='新的重置密码仅可在本弹窗时复制,关闭后不可再复制,请及时保存'
|
|
222
222
|
type='info'
|
|
223
223
|
showIcon
|
|
224
224
|
style={{ marginBottom: '20px' }}
|
|
@@ -57,10 +57,12 @@ export default function Account({ historyAction }: AccountProps) {
|
|
|
57
57
|
return (
|
|
58
58
|
<Space>
|
|
59
59
|
<span>{data?.name}</span>
|
|
60
|
-
|
|
60
|
+
{
|
|
61
|
+
!data.isAdmin && <FormOutlined
|
|
61
62
|
style={{ cursor: 'pointer', color: '#1677ff' }}
|
|
62
63
|
onClick={() => openEditName(data)}
|
|
63
64
|
/>
|
|
65
|
+
}
|
|
64
66
|
</Space>
|
|
65
67
|
)
|
|
66
68
|
}
|
|
@@ -106,8 +108,7 @@ export default function Account({ historyAction }: AccountProps) {
|
|
|
106
108
|
width: 150,
|
|
107
109
|
render: (rowdata: any) => (
|
|
108
110
|
<Space>
|
|
109
|
-
<a
|
|
110
|
-
onClick={() => {
|
|
111
|
+
<a onClick={() => {
|
|
111
112
|
setResetEditingData(rowdata)
|
|
112
113
|
setResetModalOpen(true)
|
|
113
114
|
}}
|