components.d.ts 477 B

123456789101112131415
  1. // 全局组件类型声明
  2. import TableComponent from '@/components/Table/index.vue'
  3. import FormConfig from '@/components/FormConfig/index.vue'
  4. import DialogForm from '@/components/DialogForm.vue'
  5. import SearchForm from '@/components/SearchForm.vue'
  6. declare module '@vue/runtime-core' {
  7. export interface GlobalComponents {
  8. TableComponent: typeof TableComponent
  9. FormConfig: typeof FormConfig
  10. DialogForm: typeof DialogForm
  11. SearchForm: typeof SearchForm
  12. }
  13. }
  14. export {}