From 07f35dbbb276b305703de8926f8dfdedc1c44eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Thu, 13 Oct 2022 17:38:32 +0800 Subject: [PATCH] fix: jQuery undefined --- src/utils/jquery-vendor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/jquery-vendor.js b/src/utils/jquery-vendor.js index 40ec6ad4d..0101e0e2b 100644 --- a/src/utils/jquery-vendor.js +++ b/src/utils/jquery-vendor.js @@ -1,2 +1,4 @@ import $ from 'jquery/dist/jquery.min.js' +window.$ = $ +window.jQuery = $ export default $