列表搜索后仍然选中第二个

This commit is contained in:
zhangyc
2022-12-22 07:57:22 +08:00
parent cb1a7dbc9a
commit 2978e0d724
10 changed files with 31 additions and 9 deletions

View File

@@ -191,7 +191,7 @@ const tableData = ref({
});
const stuRowSelection = computed(() => ({
columnWidth: 10,
columnWidth: 20,
selectedRowKeys: stuSelectKeys.value,
onChange: onStuSelectChange,
preserveSelectedRowKeys: true,