Skip to content

Commit

Permalink
chore: Table 调整方便外围覆盖 (#11420)
Browse files Browse the repository at this point in the history
Co-authored-by: hezhihang <[email protected]>
  • Loading branch information
hzh11012 and hezhihang authored Dec 24, 2024
1 parent 48e819c commit 915e1f0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/amis/src/renderers/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2959,12 +2959,7 @@ export default class Table<
}
}

@Renderer({
type: 'table',
storeType: TableStore.name,
name: 'table'
})
export class TableRenderer extends Table {
export class TableRendererBase extends Table {
receive(values: any, subPath?: string) {
const scoped = this.context as IScopedContext;

Expand Down Expand Up @@ -3146,4 +3141,11 @@ export class TableRenderer extends Table {
}
}

@Renderer({
type: 'table',
storeType: TableStore.name,
name: 'table'
})
export class TableRenderer extends TableRendererBase {}

export {TableCell};

0 comments on commit 915e1f0

Please sign in to comment.