Skip to content

Commit

Permalink
回滚代码 ReferenceError: Cannot access 'pageWrapper' before initialization
Browse files Browse the repository at this point in the history
…#411-- zhangdaiscott 今天 11:34
  • Loading branch information
zhangdaiscott committed May 5, 2023
1 parent 249a66c commit c7ce152
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Page/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import pageFooter from './src/PageFooter.vue';
import pageWrapper from './src/PageWrapper.vue';

export const PageFooter = withInstall(pageFooter);
//【issues/411】ReferenceError: Cannot access 'pageWrapper' before initialization
export const PageWrapper = setTimeout(()=>withInstall(pageWrapper));
export const PageWrapper = withInstall(pageWrapper);

export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight';

0 comments on commit c7ce152

Please sign in to comment.