Explorar o código

add: 把Icon、DictTag添加到全局

puhui999 hai 1 ano
pai
achega
2c50854be1
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      types/components.d.ts

+ 2 - 1
types/components.d.ts

@@ -1,6 +1,7 @@
 declare module 'vue' {
   export interface GlobalComponents {
-    Icon: typeof import('../components/Icon/src/Icon.vue')['default']
+    Icon: typeof import('@/components/Icon')['Icon']
+    DictTag: typeof import('@/components/DictTag')['DictTag']
   }
 }