Skip to content

Commit

Permalink
fix(table): selection-change not triggered in unchecking
Browse files Browse the repository at this point in the history
修复selection-change事件在取消勾选时未能正确触发的问题

fixed: #1053
  • Loading branch information
mynetfan committed Aug 10, 2021
1 parent 33a335a commit 019555b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- **BasicTable**
- 修复`CellFormat`无法使用`Map`类型数据的问题
- 修复可编辑单元格未能正确显示`0`值的问题
- 修复 selection-change 事件在取消勾选时未能正确触发的问题
- **Qrcode** 修复二维码组件在创建时未能及时绘制的问题

## 2.7.0(2021-08-03)
Expand Down
3 changes: 2 additions & 1 deletion src/components/Table/src/hooks/useRowSelection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export function useRowSelection(
rows: getSelectRows(),
});
});
}
},
{ deep: true }
);

const getAutoCreateKey = computed(() => {
Expand Down

0 comments on commit 019555b

Please sign in to comment.