cfel-base-components 2.5.19 → 2.5.21

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "2.5.19",
3
+ "version": "2.5.21",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
@@ -111,10 +111,7 @@ export default function UserCard({
111
111
  {isCopied?.['account'] ? "已复制" : <CopyOutlined />}
112
112
  </div>
113
113
  </div>
114
- <div className="lios-li li-flex">
115
- <div className="lios-keyMare">租户</div>
116
- <div className="lios-valueMare" title={tenant?.name}>{tenant?.name}</div>
117
- </div>
114
+
118
115
  <div className="lios-li li-flex">
119
116
  <div className="lios-keyMare">租户ID</div>
120
117
  <div className="lios-valueMare" title={tenant?.id}>{tenant?.id}</div>
@@ -127,6 +124,10 @@ export default function UserCard({
127
124
  {isCopied?.['tenantId'] ? "已复制" : <CopyOutlined />}
128
125
  </div>
129
126
  </div>
127
+ <div className="lios-li li-flex">
128
+ <div className="lios-keyMare">租户</div>
129
+ <div className="lios-valueMare" title={tenant?.name}>{tenant?.name}</div>
130
+ </div>
130
131
  </div>
131
132
 
132
133
 
@@ -164,7 +164,7 @@ export default function Index({
164
164
  ]}
165
165
  extra='密码要求至少包含英文字母和数字,字符数8-32位'
166
166
  >
167
- <Input.Password placeholder='请输入' />
167
+ <Input.Password placeholder='请输入' maxLength={32} minLength={8} />
168
168
  </Form.Item>
169
169
  )
170
170
  break
@@ -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' }}
@@ -63,7 +63,6 @@ export default function Account({ historyAction }: AccountProps) {
63
63
  onClick={() => openEditName(data)}
64
64
  />
65
65
  }
66
-
67
66
  </Space>
68
67
  )
69
68
  }
@@ -109,16 +108,13 @@ export default function Account({ historyAction }: AccountProps) {
109
108
  width: 150,
110
109
  render: (rowdata: any) => (
111
110
  <Space>
112
- {
113
- !rowdata.isAdmin && <a
114
- onClick={() => {
111
+ <a onClick={() => {
115
112
  setResetEditingData(rowdata)
116
113
  setResetModalOpen(true)
117
114
  }}
118
115
  >
119
116
  重置密码
120
117
  </a>
121
- }
122
118
  <a
123
119
  onClick={() => {
124
120
  historyAction?.push({
@@ -72,7 +72,7 @@ export default function AccountInfo({ isShowTab, getAuthTree, getAccountAuthTree
72
72
  ]) //tab 数据
73
73
  const TableResource: any = [
74
74
  {
75
- title: '菜单名称',
75
+ title: '名称',
76
76
  dataIndex: 'name',
77
77
  key: 'name'
78
78
  }
@@ -143,7 +143,7 @@ export default function RoleInfo({
143
143
 
144
144
  const TableResource: any = [
145
145
  {
146
- title: '菜单名称',
146
+ title: '名称',
147
147
  dataIndex: 'name',
148
148
  key: 'name'
149
149
  }