🐛修复(antd): 修复antd组件按需导入失败bug

This commit is contained in:
landaiqing
2024-04-12 00:04:05 +08:00
parent 0c1f0e1a60
commit 532ac96abb
8 changed files with 52 additions and 242 deletions

4
components.d.ts vendored
View File

@@ -7,9 +7,13 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
AButton: typeof import('ant-design-vue/es')['Button']
ECharts: typeof import('./src/components/echarts/ECharts.vue')['default']
LoginPage: typeof import('./src/views/login/LoginPage.vue')['default']
Photo: typeof import('./src/components/photo/photo.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SvgIcon: typeof import('./src/components/svgIcon/SvgIcon.vue')['default']
Tip: typeof import('./src/components/tip/tip.vue')['default']
}
}