fix: 立账凭证发票号取oma75; 优化前端懒加载
This commit is contained in:
1 parent
0e4e581f9a
commit
d7d1ad522a
22 files changed
+245
-54
No files matched your search
@@ -36,6 +36,7 @@ server {
|
||||
|
||||
# index.html 必须始终重新校验(no-cache):避免浏览器/网关缓存旧版 HTML,引用部署后已删除的旧 hash 产物,
|
||||
# 导致登录后懒加载 chunk 404,报 "Failed to fetch dynamically imported module"。
|
||||
# Chat 内 defineAsyncComponent 不走 router.onError,前端另用 vite:preloadError 做一次刷新自愈。
|
||||
location = /index.html {
|
||||
root /usr/share/nginx/html;
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
|
||||
Reference in new issue
Block a user