fix: bug#10762
This commit is contained in:
parent
c83fe499fa
commit
42828b295f
|
@ -264,6 +264,12 @@ const table: any = {
|
|||
removedItem.selectPermissions = ['read'];
|
||||
});
|
||||
}
|
||||
if (!nValue.length) {
|
||||
// 列表取消全部选择
|
||||
table.tableData.forEach((item: any) => {
|
||||
item.selectPermissions = ['read'];
|
||||
});
|
||||
}
|
||||
},
|
||||
{ deep: true },
|
||||
);
|
||||
|
|
|
@ -548,6 +548,7 @@ watch(
|
|||
() => props.parentId,
|
||||
() => {
|
||||
tableData._selectedRowKeys = [];
|
||||
tableData.selectedRows = [];
|
||||
},
|
||||
);
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue