- 10 Jan, 2026 1 commit
-
-
Edric Li authored
- Add home_content setting for custom homepage (HTML or iframe URL) - Inject public settings into index.html to eliminate page flash - Support ETag caching with automatic invalidation on settings update - Add Vite plugin for dev mode settings injection - Refactor HomeView to use appStore instead of local API calls
-
- 07 Jan, 2026 1 commit
-
-
LLLLLLiulei authored
-
- 05 Jan, 2026 2 commits
-
-
LLLLLLiulei authored
-
shaw authored
问题:使用 vue-i18n 运行时版本后,带变量的翻译(如 '{days} 天') 无法正确显示,直接显示原始字符串。 原因:运行时版本不含消息编译器,无法在运行时编译消息插值。 解决:启用 JIT 编译(__INTLIFY_JIT_COMPILATION__: true) - JIT 编译器将消息编译为 AST 对象而非 JavaScript 代码 - 通过解释执行 AST 实现插值,无需 eval 或 new Function - 符合 CSP script-src 'self' 策略,不降低安全性 同时将 vite.config.js.timestamp-* 临时文件添加到 .gitignore
-
- 04 Jan, 2026 1 commit
-
-
shaw authored
使用 vue-i18n 纯运行时版本替代默认版本,避免运行时消息编译 需要 `new Function` 而被 CSP `script-src 'self'` 策略阻止。
-
- 26 Dec, 2025 1 commit
-
-
ianshaw authored
- 更新 package-lock.json 依赖版本 - 优化 Vite、PostCSS、Tailwind 配置 - 更新入口 HTML 文件 - 更新 TypeScript 构建缓存
-
- 18 Dec, 2025 2 commits