|
@@ -106,11 +106,13 @@
|
|
return { ...props, ...unref(innerPropsRef) } as BasicTableProps;
|
|
return { ...props, ...unref(innerPropsRef) } as BasicTableProps;
|
|
});
|
|
});
|
|
|
|
|
|
- const isFixedHeightPage = inject(PageWrapperFixedHeightKey);
|
|
|
|
|
|
+ const isFixedHeightPage = inject(PageWrapperFixedHeightKey, false);
|
|
watchEffect(() => {
|
|
watchEffect(() => {
|
|
unref(isFixedHeightPage) &&
|
|
unref(isFixedHeightPage) &&
|
|
props.canResize &&
|
|
props.canResize &&
|
|
- warn("[BasicTable] 'canResize' may not worked in PageWrapper with 'fixedHeight'");
|
|
|
|
|
|
+ warn(
|
|
|
|
+ "'canResize' of BasicTable may not work in PageWrapper with 'fixedHeight' (especially in hot updates)"
|
|
|
|
+ );
|
|
});
|
|
});
|
|
|
|
|
|
const { getLoading, setLoading } = useLoading(getProps);
|
|
const { getLoading, setLoading } = useLoading(getProps);
|