Skip to content

Commit a7ca0f1

Browse files
fix(Table): fix console warning when using 'v-model:activeRowKeys' (#6070)
* fix(Table): fix warning 'update:activeRowKeys' * chore: stash changelog [ci skip] --------- Co-authored-by: tdesign-bot <[email protected]>
1 parent b4af5c7 commit a7ca0f1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/components/table/base-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineComponent({
4444
onLeafColumnsChange: Function as PropType<BaseTableProps['onLeafColumnsChange']>,
4545
thDraggable: Boolean,
4646
},
47-
emits: ['show-element-change'],
47+
emits: ['show-element-change', 'update:activeRowKeys'],
4848
setup(props: BaseTableProps, context: SetupContext) {
4949
const { lazyLoad } = toRefs(props);
5050
const renderTNode = useTNodeJSX();
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
pr_number: 6070
3+
contributor: mikasayw
4+
---
5+
6+
- fix(Table): 修复控制台的告警问题 @mikasayw ([#6070](https://github.com/Tencent/tdesign-vue-next/pull/6070))

0 commit comments

Comments
 (0)