Skip to content

Commit 83f2dfd

Browse files
committed
fix(next-components): Replace ArrayList.Item with Table.Column. Fix alibaba#1034
1 parent d0eb66b commit 83f2dfd

File tree

1 file changed

+2
-3
lines changed
  • packages/next-components/src/array-table

1 file changed

+2
-3
lines changed

packages/next-components/src/array-table/index.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const SelectionRow = (Table as any).SelectionRow
2020

2121
const ArrayComponents = {
2222
Wrapper: Table,
23-
Item: Table.Column,
2423
CircleButton,
2524
TextButton,
2625
AdditionIcon: () => <Icon type="add" className="next-icon-first" />,
@@ -158,7 +157,7 @@ export const ArrayTable = styled(
158157
...props.getExtendsProps()
159158
}
160159
return (
161-
<ArrayList.Item
160+
<Table.Column
162161
width={200}
163162
{...itemProps}
164163
title={complieExpression(props.title, expressionScope)}
@@ -198,7 +197,7 @@ export const ArrayTable = styled(
198197
>
199198
{columns}
200199
{editable && operations !== false && (
201-
<ArrayList.Item
200+
<Table.Column
202201
width={operationsWidth || 200}
203202
lock="right"
204203
{...operations}

0 commit comments

Comments
 (0)