Skip to content

Commit

Permalink
ReferenceError: Cannot access 'pageWrapper' before initialization #411--
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed May 5, 2023
1 parent 9259f57 commit 249a66c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Page/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 249a66c

Please sign in to comment.