Commit cc88e1a66c056eee363ccb4093e0b1f0dacbeadc
Committed by
GitHub
1 parent
6aa3f934
fix: 修复 Cannot access 'pagewrapper' before initialization (#2835)
Showing
4 changed files
with
3 additions
and
4 deletions
src/components/Page/index.ts
src/components/Page/src/PageWrapper.vue
... | ... | @@ -51,7 +51,7 @@ |
51 | 51 | import { omit } from 'lodash-es'; |
52 | 52 | import { PageHeader } from 'ant-design-vue'; |
53 | 53 | import { useContentHeight } from '/@/hooks/web/useContentHeight'; |
54 | - import { PageWrapperFixedHeightKey } from '..'; | |
54 | + import { PageWrapperFixedHeightKey } from '/@/enums/pageEnum'; | |
55 | 55 | |
56 | 56 | export default defineComponent({ |
57 | 57 | name: 'PageWrapper', | ... | ... |
src/components/Table/src/BasicTable.vue
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 | import { defineComponent, ref, computed, unref, toRaw, inject, watchEffect } from 'vue'; |
50 | 50 | import { Table } from 'ant-design-vue'; |
51 | 51 | import { BasicForm, useForm } from '/@/components/Form/index'; |
52 | - import { PageWrapperFixedHeightKey } from '/@/components/Page'; | |
52 | + import { PageWrapperFixedHeightKey } from '/@/enums/pageEnum'; | |
53 | 53 | import HeaderCell from './components/HeaderCell.vue'; |
54 | 54 | import { InnerHandlers } from './types/table'; |
55 | 55 | ... | ... |