fix(table): fix table jitter problem

This commit is contained in:
vben
2021-06-22 22:46:03 +08:00
parent c1525252e8
commit 8eba7fb527
5 changed files with 328 additions and 226 deletions

View File

@@ -51,7 +51,12 @@ export default function ({
const debounceUpdateAdvanced = useDebounceFn(updateAdvanced, 30);
watch(
[() => unref(getSchema), () => advanceState.isAdvanced, () => unref(realWidthRef)],
[
// TODO
// () => unref(getSchema),
() => advanceState.isAdvanced,
() => unref(realWidthRef),
],
() => {
const { showAdvancedButton } = unref(getProps);
if (showAdvancedButton) {