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
@@ -7,7 +7,7 @@
<meta http-equiv="Expires" content="0">
<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>
/* ─── 顶部 标题 + 状态 ─── */
.pd-title {
@@ -1150,7 +1150,7 @@
</div>
<script src="assets/shell.js"></script>
<script src="assets/shell.js?v=202605211643"></script>
<script>
// 从 URL ?product= 读出商品名,注入 crumb / h1 / 商品名字段
const _urlProductName = (function () {