From 3de1ba05e0dc1493c970be47c34811f12fff6492 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Sun, 7 Aug 2022 15:35:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=9B=E5=BB=BA=20t?= =?UTF-8?q?s=20=E9=A1=B9=E7=9B=AEvue=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/common/sfc.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/template/common/sfc.d.ts b/template/common/sfc.d.ts index c22cbc2..bdd6254 100644 --- a/template/common/sfc.d.ts +++ b/template/common/sfc.d.ts @@ -1,4 +1,7 @@ -import Vue from 'vue' +declare module "*.vue" { + import Vue from 'vue' + export default Vue +} declare module "vue/types/options" { type Hooks = App.AppInstance & Page.PageInstance;