fix: Cannot access 'pagewrapper' before init
							parent
							
								
									c455a843e1
								
							
						
					
					
						commit
						7464ac03d7
					
				| 
						 | 
				
			
			@ -5,5 +5,3 @@ import pageWrapper from './src/PageWrapper.vue'
 | 
			
		|||
 | 
			
		||||
export const PageFooter = withInstall(pageFooter)
 | 
			
		||||
export const PageWrapper = withInstall(pageWrapper)
 | 
			
		||||
 | 
			
		||||
export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,7 +35,7 @@ import { propTypes } from '@/utils/propTypes'
 | 
			
		|||
import { omit } from 'lodash-es'
 | 
			
		||||
import { PageHeader } from 'ant-design-vue'
 | 
			
		||||
import { useContentHeight } from '@/hooks/web/useContentHeight'
 | 
			
		||||
import { PageWrapperFixedHeightKey } from '..'
 | 
			
		||||
import { PageWrapperFixedHeightKey } from '@/enums/pageEnum'
 | 
			
		||||
 | 
			
		||||
defineOptions({ name: 'PageWrapper', inheritAttrs: false })
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -44,7 +44,7 @@ import type { BasicTableProps, TableActionType, SizeType, ColumnChangeParam } fr
 | 
			
		|||
import { ref, computed, unref, toRaw, inject, watchEffect, useAttrs, useSlots } from 'vue'
 | 
			
		||||
import { Table } from 'ant-design-vue'
 | 
			
		||||
import { BasicForm, useForm } from '@/components/Form'
 | 
			
		||||
import { PageWrapperFixedHeightKey } from '@/components/Page'
 | 
			
		||||
import { PageWrapperFixedHeightKey } from '@/enums/pageEnum'
 | 
			
		||||
import HeaderCell from './components/HeaderCell.vue'
 | 
			
		||||
import { InnerHandlers } from './types/table'
 | 
			
		||||
import { usePagination } from './hooks/usePagination'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,3 +9,5 @@ export enum PageEnum {
 | 
			
		|||
  ERROR_LOG_PAGE = '/error-log/list',
 | 
			
		||||
  MESSAGE_PAGE = '/profile/notify-message'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export const PageWrapperFixedHeightKey = 'PageWrapperFixedHeight'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue