|
|
@@ -4,6 +4,24 @@
|
|
|
|
|
|
---
|
|
|
|
|
|
+## v1.0.2025 (2026-11-03)
|
|
|
+
|
|
|
+### Bug 修复
|
|
|
+- H5 白屏根因修复 — exports polyfill + CSS publicPath
|
|
|
+
|
|
|
+### 其他
|
|
|
+- 时混用自由变量 'exports'(webpack 压缩后模块参数为 a/e/t,e 才是 exports),
|
|
|
+- 浏览器无全局 exports → ReferenceError 中断 pages-index-home-index chunk 执行
|
|
|
+- → 首页白屏。custom-tab-bar 已由 main.js Vue.component 全局注册,功能不受影响。
|
|
|
+- - public/index.html(新建,uni-app H5 实际模板入口):head 内提前 polyfill
|
|
|
+- window.exports={default:{}},消除 exports 引用错误;CSS link 用 <%= BASE_URL %>
|
|
|
+- 前缀(修复 /static/index.css 缺 /frontend/ 导致样式 404)
|
|
|
+- - index.html(项目根模板,同步 polyfill,保持一致)
|
|
|
+- - config.js 不入库(用户要求):稳健版存 /home/iwt/cfc-h5-config/config.js,
|
|
|
+- 由 cfc-deploy-251.sh 构建前注入(已单独处理)
|
|
|
+-
|
|
|
+
|
|
|
+
|
|
|
## v1.0.2024 (2026-11-03)
|
|
|
|
|
|
### 样式
|