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
//删除已选择的信息 function handleDeleteSelected(record) { checkedKeys.value = checkedKeys.value.splice(checkedKeys.value.indexOf(record['id']), 1); selectRows.value = selectRows.value.filter((item) => item['id'] !== record['id']); }
The text was updated successfully, but these errors were encountered:
已修复,待新版本发布
Sorry, something went wrong.
No branches or pull requests
版本号:3.4.4
问题描述:jeecgboot-vue3中选择用户,开启右侧列表后,在右侧列表删除用户操作时,逻辑有问题,indexOf在checkedKeys中根本找不到对应的id索引,总是返回-1,截取时,则会从最后一个值截取,然后删除用户时,一直会从最后一个用户开始删除
截图&代码:
//删除已选择的信息
function handleDeleteSelected(record) {
checkedKeys.value = checkedKeys.value.splice(checkedKeys.value.indexOf(record['id']), 1);
selectRows.value = selectRows.value.filter((item) => item['id'] !== record['id']);
}
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: