Skip to content

Commit 2c50854

Browse files
author
puhui999
committed
add: 把Icon、DictTag添加到全局
1 parent e87df64 commit 2c50854

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/components.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
declare module 'vue' {
22
export interface GlobalComponents {
3-
Icon: typeof import('../components/Icon/src/Icon.vue')['default']
3+
Icon: typeof import('@/components/Icon')['Icon']
4+
DictTag: typeof import('@/components/DictTag')['DictTag']
45
}
56
}
67

0 commit comments

Comments
 (0)