diff --git a/jeecgboot-vue3/.claudeignore b/jeecgboot-vue3/.claudeignore
new file mode 100644
index 000000000..dd1e0e9f0
--- /dev/null
+++ b/jeecgboot-vue3/.claudeignore
@@ -0,0 +1,57 @@
+# Git
+.git/
+.gitignore
+.gitmodules
+
+# SVN
+.svn/
+
+# IntelliJ IDEA
+.idea/
+*.iml
+*.iws
+*.ipr
+out/
+
+# Eclipse
+.classpath
+.project
+.settings/
+
+# VS Code
+.vscode/
+
+# Maven / Gradle build output
+target/
+build/
+!.mvn/wrapper/maven-wrapper.jar
+
+# OS files
+.DS_Store
+Thumbs.db
+desktop.ini
+
+# Logs
+*.log
+logs/
+
+# Node (frontend artifacts if any)
+node_modules/
+dist/
+
+# Docker volumes / data
+docker/data/
+
+# Compiled classes
+*.class
+
+# Custom
+*.qqy
+代码修改.log
+代码修改日志
+*.zip
+backup/
+.history/
+.cursor/
+doc/
+docs/
diff --git a/jeecgboot-vue3/.env.development b/jeecgboot-vue3/.env.development
index fb3498c90..97118e296 100644
--- a/jeecgboot-vue3/.env.development
+++ b/jeecgboot-vue3/.env.development
@@ -31,3 +31,6 @@ VITE_APP_SUB_jeecg-app-1 = '//localhost:8092'
# 在线文档编辑版本。可选属性:wps, offlineWps(离线版) ,onlyoffice
VITE_GLOB_ONLINE_DOCUMENT_VERSION=wps
+
+# icon组件的iconify图标库使用在线还是本地。可选属性:online, local
+VITE_GLOB_ICONIFY_USE_TYPE=online
diff --git a/jeecgboot-vue3/.env.production b/jeecgboot-vue3/.env.production
index f3553726f..ddb4d4bb5 100644
--- a/jeecgboot-vue3/.env.production
+++ b/jeecgboot-vue3/.env.production
@@ -32,3 +32,6 @@ VITE_GLOB_API_URL_PREFIX=
# 在线文档编辑版本。可选属性:wps, offlineWps(离线版), onlyoffice
VITE_GLOB_ONLINE_DOCUMENT_VERSION=wps
+
+# icon组件的iconify图标库使用在线还是本地。可选属性:online, local
+VITE_GLOB_ICONIFY_USE_TYPE=local
diff --git a/jeecgboot-vue3/build/vite/plugin/pwa.ts b/jeecgboot-vue3/build/vite/plugin/pwa.ts
index 2251b3e98..41d69ddd1 100644
--- a/jeecgboot-vue3/build/vite/plugin/pwa.ts
+++ b/jeecgboot-vue3/build/vite/plugin/pwa.ts
@@ -96,9 +96,10 @@ export function configPwaPlugin(isBuild: boolean): PluginOption | PluginOption[]
},
},
},
- // 图片资源
+ //update-begin---author:scott ---date:20260417 for:[issues/9564]PWA图片规则过宽导致/filereview/等业务接口走缓存-----------
+ // 图片资源(仅缓存构建产物,避免命中 /filereview/、/jeecgboot/ 等业务接口返回的图片)
{
- urlPattern: /\.(?:png|jpg|jpeg|svg|gif|webp)$/,
+ urlPattern: /\/(?:assets|img|static|resource)\/.*\.(?:png|jpg|jpeg|svg|gif|webp)$/i,
handler: 'CacheFirst',
options: {
cacheName: 'image-cache',
@@ -108,22 +109,12 @@ export function configPwaPlugin(isBuild: boolean): PluginOption | PluginOption[]
},
},
},
- // API 请求
+ // API 请求(JeecgBoot 实际前缀是 /jeecgboot/,原 /api/ 规则未生效)
{
- urlPattern: /\/api\/.*/i,
- handler: 'NetworkFirst',
- options: {
- cacheName: 'api-cache',
- networkTimeoutSeconds: 10,
- expiration: {
- maxEntries: 50,
- maxAgeSeconds: 60 * 5,
- },
- cacheableResponse: {
- statuses: [0, 200],
- },
- },
+ urlPattern: /\/jeecgboot\/.*/i,
+ handler: 'NetworkOnly',
},
+ //update-end---author:scott ---date:20260417 for:[issues/9564]PWA图片规则过宽导致/filereview/等业务接口走缓存-----------
],
// 启用立即更新:新 SW 立即激活并接管页面
skipWaiting: true,
diff --git a/jeecgboot-vue3/index.html b/jeecgboot-vue3/index.html
index 245a4a9d2..29726acd7 100644
--- a/jeecgboot-vue3/index.html
+++ b/jeecgboot-vue3/index.html
@@ -168,13 +168,15 @@