Skip to content

Commit 00d6135

Browse files
committed
releases 4.13.17
1 parent e5361c1 commit 00d6135

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vxe-table",
3-
"version": "4.13.16",
3+
"version": "4.13.17",
44
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
55
"scripts": {
66
"update": "npm install --legacy-peer-deps",

packages/table/src/table.ts

+3-8
Original file line numberDiff line numberDiff line change
@@ -4698,15 +4698,10 @@ export default defineComponent({
46984698
rowList = currTableData.filter((row) => XEUtils.get(row, checkField))
46994699
}
47004700
} else {
4701+
const currMaps = isFull || (treeConfig && !transform) ? fullDataRowIdData : afterFullRowMaps
47014702
XEUtils.each(selectCheckboxMaps, (row, rowid) => {
4702-
if (isFull) {
4703-
if (fullDataRowIdData[rowid]) {
4704-
rowList.push(fullDataRowIdData[rowid].row)
4705-
}
4706-
} else {
4707-
if (afterFullRowMaps[rowid]) {
4708-
rowList.push(afterFullRowMaps[rowid])
4709-
}
4703+
if (currMaps[rowid]) {
4704+
rowList.push(fullDataRowIdData[rowid].row)
47104705
}
47114706
})
47124707
}

0 commit comments

Comments
 (0)