add: 把Icon、DictTag添加到全局

This commit is contained in:
puhui999 2023-03-27 10:37:11 +08:00
parent e87df6439f
commit 2c50854be1

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