From ca7540b9cbfccd1ae1d59dbcbd57459e58bf1ed3 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Fri, 23 Jan 2026 18:26:00 +0800 Subject: [PATCH] =?UTF-8?q?[issues/9301]=20=E5=BC=BA=E5=88=B6=E9=A2=84?= =?UTF-8?q?=E6=9E=84=E5=BB=BAclipboard=EF=BC=8C=E8=A7=A3=E5=86=B3Vite6?= =?UTF-8?q?=E5=AF=B9CommonJS=E6=A8=A1=E5=9D=97=E7=9A=84=E4=B8=A5=E6=A0=BC?= =?UTF-8?q?=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3/vite.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jeecgboot-vue3/vite.config.ts b/jeecgboot-vue3/vite.config.ts index 080634296..07009431d 100644 --- a/jeecgboot-vue3/vite.config.ts +++ b/jeecgboot-vue3/vite.config.ts @@ -145,6 +145,8 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { '@jeecg/online', '@jeecg/aiflow', ], + // 强制预构建clipboard,解决Vite6对CommonJS模块的严格检查 + include: ['clipboard'] }, }; };