add: 把Icon、DictTag添加到全局
This commit is contained in:
parent
e87df6439f
commit
2c50854be1
3
types/components.d.ts
vendored
3
types/components.d.ts
vendored
@ -1,6 +1,7 @@
|
|||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
Icon: typeof import('../components/Icon/src/Icon.vue')['default']
|
Icon: typeof import('@/components/Icon')['Icon']
|
||||||
|
DictTag: typeof import('@/components/DictTag')['DictTag']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user