为什么要清空选中列表?
This commit is contained in:
@@ -264,8 +264,9 @@ watch(
|
||||
() => props.dataSource,
|
||||
() => {
|
||||
tableDataSource.value = [...props.dataSource];
|
||||
tableSelectedKeys.value = [];
|
||||
tableSelectedKey.value = s;
|
||||
// 为什么修改数据就要把选中清空? 我要清空不会自己清吗?
|
||||
// tableSelectedKeys.value = [];
|
||||
// tableSelectedKey.value = s;
|
||||
},
|
||||
{ deep: true }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user