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

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

@@ -692,6 +692,8 @@ export default {
//搜索在线列表
const searchList = () => {
if (state.inputV1 || state.selectV) {
state.selectedRowKeys = [];
state.addOnlineList = [];
getAllOnlineText();
} else {
resetOnline();