Skip to content

Commit 119626a

Browse files
committed
fix(curd): add default row-key attribute to StdTable component for improved data handling
1 parent 76a6d49 commit 119626a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/social-phones-share.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@uozi-admin/curd": patch
3+
---
4+
5+
fix(curd): add default row-key attribute to StdTable component for improved data handling

packages/curd/src/components/StdTable.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ function SearchFormExtraRender() {
366366
:columns="dataColumns"
367367
:data-source="tableData"
368368
:loading="tableLoading"
369+
row-key="id"
369370
v-bind="{
370371
scroll: {
371372
x: 'max-content',

0 commit comments

Comments
 (0)