✨新增自定义组件增加引用提示
This commit is contained in:
parent
03839d3d1d
commit
b827c47497
16
src/components.d.ts
vendored
Normal file
16
src/components.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import SvgIcon from '@/components/SvgIcon/index.vue'
|
||||
import UploadImage from '@/components/ImageUpload.vue'
|
||||
import FileUpload from '@/components/FileUpload'
|
||||
import ImagePreview from '@/components/ImagePreview'
|
||||
import DictTag from '@/components/DictTag'
|
||||
import Dialog from '@/components/Dialog'
|
||||
declare module '@vue/runtime-core' {
|
||||
export interface GlobalComponents {
|
||||
SvgIcon: typeof SvgIcon,
|
||||
UploadImage: typeof UploadImage,
|
||||
DictTag: typeof DictTag,
|
||||
ImagePreview: typeof ImagePreview,
|
||||
FileUpload: typeof FileUpload,
|
||||
ZrDialog: typeof Dialog
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user