ReferenceError: Cannot access 'pageWrapper' before initialization #411
parent
21e9e88dc6
commit
87580883d1
|
@ -5,5 +5,3 @@ import pageWrapper from './src/PageWrapper.vue';
|
|||
|
||||
export const PageFooter = withInstall(pageFooter);
|
||||
export const PageWrapper = withInstall(pageWrapper);
|
||||
|
||||
export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight';
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight';
|
|
@ -43,7 +43,7 @@
|
|||
import { omit } from 'lodash-es';
|
||||
import { PageHeader } from 'ant-design-vue';
|
||||
import { useContentHeight } from '/@/hooks/web/useContentHeight';
|
||||
import { PageWrapperFixedHeightKey } from '..';
|
||||
import { PageWrapperFixedHeightKey } from '../injectionKey';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'PageWrapper',
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
import { defineComponent, ref, computed, unref, toRaw, inject, watchEffect } from 'vue';
|
||||
import { Table } from 'ant-design-vue';
|
||||
import { BasicForm, useForm } from '/@/components/Form/index';
|
||||
import { PageWrapperFixedHeightKey } from '/@/components/Page';
|
||||
import { PageWrapperFixedHeightKey } from '/@/components/Page/injectionKey';
|
||||
import expandIcon from './components/ExpandIcon';
|
||||
import HeaderCell from './components/HeaderCell.vue';
|
||||
import { InnerHandlers } from './types/table';
|
||||
|
|
Loading…
Reference in New Issue