ReferenceError: Cannot access 'pageWrapper' before initialization #411--

pull/523/head
zhangdaiscott 2023-05-05 11:34:21 +08:00
parent 9259f57e54
commit 249a66c98f
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import pageFooter from './src/PageFooter.vue';
import pageWrapper from './src/PageWrapper.vue';
export const PageFooter = withInstall(pageFooter);
export const PageWrapper = withInstall(pageWrapper);
//【issues/411】ReferenceError: Cannot access 'pageWrapper' before initialization
export const PageWrapper = setTimeout(()=>withInstall(pageWrapper));
export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight';