From 62ab397ac5b7736d90eac102245b092895602f5e Mon Sep 17 00:00:00 2001 From: hechang27-sprt Date: Mon, 30 Mar 2026 09:34:10 +0800 Subject: [PATCH] feat(examples): comprehensive table-v2 demo page Transform table-v2.vue into a detailed demo page demonstrating all list-table-v2 features with 14 sections covering: - Basic usage with pagination and events - Styling (borders, alignment) - Fixed columns (left/right) - Data formatting (timestamp, filesize, dict) - Custom cellRenderer with JSX - Custom headerCellRenderer - Dynamic height auto-probe - Fixed height mode - Column width distribution - Height/maxHeight/headerHeight controls - Slot-based custom cells - i18n support - Combined features stress test - Renderer edge cases with pagination Also fix .app-main overflow to enable page scrolling for demo. Co-Authored-By: Claude Opus 4.6 --- examples/view/base/table-v2.vue | 1182 ++++++++++++++++++++++++++++-- packages/manage/router/index.vue | 2 +- 2 files changed, 1108 insertions(+), 76 deletions(-) diff --git a/examples/view/base/table-v2.vue b/examples/view/base/table-v2.vue index c0c35ea..28c0741 100644 --- a/examples/view/base/table-v2.vue +++ b/examples/view/base/table-v2.vue @@ -1,107 +1,1139 @@ - diff --git a/packages/manage/router/index.vue b/packages/manage/router/index.vue index 4afc271..47651aa 100644 --- a/packages/manage/router/index.vue +++ b/packages/manage/router/index.vue @@ -199,7 +199,7 @@ body { min-height: 0 !important; display: flex !important; flex-direction: column !important; - overflow: hidden !important; + overflow-y: auto !important; } .el-header,