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

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

@@ -527,6 +527,7 @@ export default {
};
//搜索
const search = () => {
state.selectedRows = [];
//重新获取列表
getClassList();
};