add: 把Icon、DictTag添加到全局

pull/66/head
puhui999 2023-03-27 10:37:11 +08:00
parent e87df6439f
commit 2c50854be1
1 changed files with 2 additions and 1 deletions

View File

@ -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']
}
}