We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/** * 选择项变化 * @param {array} selection 选择项 */ const hand const handleSortChange = (data)=>{ console.log('SortChange',data); // 触发自定义排序事件 emits('sort-change', data); }leSelectionChange = (selection) => { console.log(1,selection); // 将选中的记录和保留项合并后传递出去 const selectionData = [...selection.records, ...selection.reserves].reverse() console.log('选中', selectionData); emits('update:selection', selectionData) emits('selection-change', selectionData) } const handleSelectionAll = (selection) => { console.log(2,selection); const selectionData = [...selection.records, ...selection.reserves].reverse() console.log('全选', selectionData); emits('update:selection', selectionData) }
@checkbox-change="handleSelectionChange" @checkbox-all="handleSelectionAll"
请问有方法解决嘛
10
127.0.6533.120
3.5
"vxe-pc-ui": "4.3.2",
"vxe-table": "4.9.4"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
可复现的链接(包含复现链接与示例代码):
/** * 选择项变化 * @param {array} selection 选择项 */ const hand const handleSortChange = (data)=>{ console.log('SortChange',data); // 触发自定义排序事件 emits('sort-change', data); }leSelectionChange = (selection) => { console.log(1,selection); // 将选中的记录和保留项合并后传递出去 const selectionData = [...selection.records, ...selection.reserves].reverse() console.log('选中', selectionData); emits('update:selection', selectionData) emits('selection-change', selectionData) } const handleSelectionAll = (selection) => { console.log(2,selection); const selectionData = [...selection.records, ...selection.reserves].reverse() console.log('全选', selectionData); emits('update:selection', selectionData) }
问题描述与截图:
@checkbox-change="handleSelectionChange"
@checkbox-all="handleSelectionAll"
期望的结果:
请问有方法解决嘛
操作系统:
10
浏览器版本:
127.0.6533.120
vue 版本:
3.5
vxe-pc-ui 版本:
"vxe-pc-ui": "4.3.2",
vxe-table 版本:
"vxe-table": "4.9.4"
是否使用当前最新版本?
The text was updated successfully, but these errors were encountered: