🐛(component): 简化 table 文档
This commit is contained in:
@@ -266,11 +266,7 @@ watch(
|
||||
tableDataSource.value = [...props.dataSource];
|
||||
tableSelectedKeys.value = [];
|
||||
tableSelectedKey.value = s;
|
||||
nextTick(() => {
|
||||
getScrollWidth();
|
||||
});
|
||||
},
|
||||
{ deep: true }
|
||||
}, { deep: true }
|
||||
);
|
||||
|
||||
const changeAll = (isChecked: boolean) => {
|
||||
@@ -451,12 +447,14 @@ watch(
|
||||
() => [props.height, props.maxHeight, props.dataSource],
|
||||
() => {
|
||||
nextTick(() => {
|
||||
console.log("触发");
|
||||
getScrollWidth();
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
getScrollWidth();
|
||||
getFixedColumn();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user