diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 9488dc20..26671abd 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -4,6 +4,7 @@ - **BasicTable** - 修复`CellFormat`无法使用`Map`类型数据的问题 - 修复可编辑单元格未能正确显示`0`值的问题 + - 修复 selection-change 事件在取消勾选时未能正确触发的问题 - **Qrcode** 修复二维码组件在创建时未能及时绘制的问题 ## 2.7.0(2021-08-03) diff --git a/src/components/Table/src/hooks/useRowSelection.ts b/src/components/Table/src/hooks/useRowSelection.ts index f8a1447e..ee6fa9eb 100644 --- a/src/components/Table/src/hooks/useRowSelection.ts +++ b/src/components/Table/src/hooks/useRowSelection.ts @@ -52,7 +52,8 @@ export function useRowSelection( rows: getSelectRows(), }); }); - } + }, + { deep: true } ); const getAutoCreateKey = computed(() => {