fix(cache): 给 shell.js/restraint.css 加 ?v=时间戳 强制绕过浏览器旧缓存

This commit is contained in:
UI 设计
2026-05-21 16:44:10 +08:00
parent 704ef9a954
commit 868ba69ea4
18 changed files with 41 additions and 41 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>商品库 · 流·Studio</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/restraint.css">
<link rel="stylesheet" href="assets/restraint.css?v=202605211643">
<style>
/* ─── 全局 viewport 高度链 (让右侧 toolbar/分页吸顶吸底) ─── */
/* 整页滚动 · 头部 H1+actions sticky 固定 · 其他随页面滚 */
@@ -1012,7 +1012,7 @@
<button type="button" id="bulk-exit">完成</button>
</div>
<script src="assets/shell.js"></script>
<script src="assets/shell.js?v=202605211643"></script>
<script>
Shell.render({ active: 'products', crumbs: [{ label: '工作台', href: 'index.html' }, { label: '商品库' }] });