fix: fix antdv console warning

This commit is contained in:
vben
2021-06-26 23:56:57 +08:00
parent 0e414ba3c1
commit 480cfb914e
10 changed files with 89 additions and 88 deletions

View File

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