diff --git a/src/renderers/Table.tsx b/src/renderers/Table.tsx index 4942a9b0..dd2def41 100644 --- a/src/renderers/Table.tsx +++ b/src/renderers/Table.tsx @@ -1154,7 +1154,6 @@ export default class Table extends React.Component { ); } - const $$id = column.pristine.$$id ? `${column.pristine.$$id}-column` : ''; const subProps: any = { ...props, btnDisabled: store.dragging, @@ -1165,7 +1164,6 @@ export default class Table extends React.Component { quickEditFormRef: this.subFormRef, prefix }; - delete subProps.$$id; delete subProps.label; return render( @@ -1173,8 +1171,7 @@ export default class Table extends React.Component { { ...column.pristine, column: column.pristine, - type: 'cell', - $$id + type: 'cell' }, subProps ); @@ -1306,7 +1303,6 @@ export default class Table extends React.Component { onQuickChange={ store.dragging ? null : this.handleQuickChange } - $$editable={false /* 为了编辑器特意加的 */} /> ); }) @@ -1468,7 +1464,7 @@ export default class Table extends React.Component { } const otherProps: any = {}; - editable === false && (otherProps.$$editable = false); + // editable === false && (otherProps.$$editable = false); const child = headerToolbarRender ? headerToolbarRender(