无木
2021-08-10 019555be0c88edc673cae382023d647e78959b30
fix(table): `selection-change` not triggered in unchecking

修复selection-change事件在取消勾选时未能正确触发的问题

fixed: #1053
2个文件已修改
4 ■■■ 已修改文件
CHANGELOG.zh_CN.md 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/Table/src/hooks/useRowSelection.ts 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CHANGELOG.zh_CN.md
@@ -4,6 +4,7 @@
- **BasicTable**
  - 修复`CellFormat`无法使用`Map`类型数据的问题
  - 修复可编辑单元格未能正确显示`0`值的问题
  - 修复 selection-change 事件在取消勾选时未能正确触发的问题
- **Qrcode** 修复二维码组件在创建时未能及时绘制的问题
## 2.7.0(2021-08-03)
src/components/Table/src/hooks/useRowSelection.ts
@@ -52,7 +52,8 @@
          rows: getSelectRows(),
        });
      });
    }
    },
    { deep: true }
  );
  const getAutoCreateKey = computed(() => {