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'] }, }; };