Skip to content

Commit 5537236

Browse files
committed
移除未使用的属性
1 parent aa0babf commit 5537236

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/pages/super/permissions/components/ShowForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ShowForm: React.FC<ShowFormProps> = (props) => {
2626
(item, index) =>
2727
item.dataIndex !== 'option' && (
2828
// eslint-disable-next-line react/no-array-index-key
29-
<Form.Item key={index} label={item.title} name={item.dataIndex} rules={item.rules}>
29+
<Form.Item key={index} label={item.title} name={item.dataIndex}>
3030
<Input disabled />
3131
</Form.Item>
3232
),

src/pages/super/roles/components/ShowForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ShowForm: React.FC<ShowFormProps> = (props) => {
2626
(item, index) =>
2727
item.dataIndex !== 'option' && (
2828
// eslint-disable-next-line react/no-array-index-key
29-
<Form.Item key={index} label={item.title} name={item.dataIndex} rules={item.rules}>
29+
<Form.Item key={index} label={item.title} name={item.dataIndex}>
3030
<Input disabled />
3131
</Form.Item>
3232
),

src/pages/super/users/components/ShowForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const ShowForm: React.FC<ShowFormProps> = (props) => {
2626
(item, index) =>
2727
item.dataIndex !== 'option' && (
2828
// eslint-disable-next-line react/no-array-index-key
29-
<Form.Item key={index} label={item.title} name={item.dataIndex} rules={item.rules}>
29+
<Form.Item key={index} label={item.title} name={item.dataIndex}>
3030
<Input disabled />
3131
</Form.Item>
3232
),

0 commit comments

Comments
 (0)