fix 多选问题

This commit is contained in:
2023-04-21 14:53:55 +08:00
parent 32ba924247
commit caa6e5f338
7 changed files with 19 additions and 19 deletions

View File

@@ -286,7 +286,7 @@ watch(
const changeAll = (isChecked: boolean) => {
if (isChecked) {
const datasources = props.dataSource.filter((item: any, index: number) => {
const datasources = datalist.value.filter((item: any, index: number) => {
return !props.getCheckboxProps(item, index)?.disabled;
});
const ids = datasources.map((item) => {