From f18fafc51562edcef8b084c97dca7504805e5a38 Mon Sep 17 00:00:00 2001 From: wh <2274778320@qq.com> Date: Tue, 25 Jul 2023 09:42:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dcdn=E5=BC=95=E5=85=A5?= =?UTF-8?q?=E6=97=B6Vue.use=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9c6fadd..1ad3c26 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,7 @@ export { SmartWidget } -if (typeof window !== 'undefined' && window.Vue) { +if (typeof window !== 'undefined' && window.Vue && window.Vue.use) { window.Vue.use(install) if (install.installed) { install.installed = false