diff --git a/.workbuddy/memory/2026-08-19.md b/.workbuddy/memory/2026-08-19.md new file mode 100644 index 0000000..9dae02a --- /dev/null +++ b/.workbuddy/memory/2026-08-19.md @@ -0,0 +1,19 @@ +# 2026-08-19 + +## 修复 RunwayLooksDetail.astro 的红线(TS 严格模式报错) +- 文件:`src/components/RunwayLooksDetail.astro`(一个 Alpine 灯箱详情组件)。 +- 根因:项目 `tsconfig.json` 继承 `astro/tsconfigs/strict`(含 `noImplicitThis`)。该文件 ` + + \ No newline at end of file diff --git a/src/components/pages/article.astro b/src/components/pages/article.astro index c1c6cb3..86cc7e5 100644 --- a/src/components/pages/article.astro +++ b/src/components/pages/article.astro @@ -52,7 +52,6 @@ const backLabel = lbl.back.replace("← ", "") const homeHref = locale === "cn" ? "/cn" : "/en/" const archiveHref = locale === "cn" ? "/cn/shows" : "/en/shows" const crumbs: { label: string; href: string }[] = [ - { label: "Home", href: homeHref }, { label: "Runway Looks", href: archiveHref }, ] if (article?.brand_id) { @@ -196,7 +195,6 @@ if (article?.brand_id) {