From b827c47497b4c8d0280da50c72af18a7d07e49a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Sat, 23 Sep 2023 13:59:16 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=E6=96=B0=E5=A2=9E=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/components.d.ts diff --git a/src/components.d.ts b/src/components.d.ts new file mode 100644 index 0000000..276aef5 --- /dev/null +++ b/src/components.d.ts @@ -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 + } +} \ No newline at end of file