Skip to content

Commit

Permalink
types: 迁移types
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed May 31, 2023
1 parent e34b5cb commit 46b35e4
Show file tree
Hide file tree
Showing 30 changed files with 1,168 additions and 2,580 deletions.
1 change: 0 additions & 1 deletion src/components/ConfigGlobal/src/ConfigGlobal.vue
Expand Up @@ -7,7 +7,6 @@ import { useWindowSize } from '@vueuse/core'
import { useAppStore } from '@/store/modules/app'
import { setCssVar } from '@/utils'
import { useDesign } from '@/hooks/web/useDesign'
import { ElementPlusSize } from '@/types/elementPlus'
const { variables } = useDesign()
Expand Down
@@ -1,4 +1,3 @@
import { ElementPlusSize } from './elementPlus'
export interface ConfigGlobalTypes {
size?: ElementPlusSize
}
2 changes: 1 addition & 1 deletion src/components/ContextMenu/src/ContextMenu.vue
Expand Up @@ -4,7 +4,7 @@ import { PropType, ref } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { useDesign } from '@/hooks/web/useDesign'
import type { RouteLocationNormalizedLoaded } from 'vue-router'
import { contextMenuSchema } from '../../../types/contextMenu'
import { contextMenuSchema } from './types'
const { getPrefixCls } = useDesign()
const prefixCls = getPrefixCls('context-menu')
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Descriptions/src/Descriptions.vue
Expand Up @@ -4,7 +4,7 @@ import { useDesign } from '@/hooks/web/useDesign'
import { propTypes } from '@/utils/propTypes'
import { ref, unref, PropType, computed, useAttrs, useSlots } from 'vue'
import { useAppStore } from '@/store/modules/app'
import { DescriptionsSchema } from '@/types/descriptions'
import { DescriptionsSchema } from './types'
const appStore = useAppStore()
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Form/index.ts
@@ -1,6 +1,6 @@
import Form from './src/Form.vue'
import { ElForm } from 'element-plus'
import { FormSchema, FormSetPropsType } from '@/types/form'
import { FormSchema, FormSetPropsType } from './src/types'

export interface FormExpose {
setValues: (data: Recordable) => void
Expand Down
302 changes: 0 additions & 302 deletions src/components/Form/src/Form copy.vue

This file was deleted.

0 comments on commit 46b35e4

Please sign in to comment.