Files
yingqing/core/frontend/src/routes
zycandClaude Opus 4.8 186446e669 fix: 商品三视图回填改用 in_library:all 专拉,刷新真回显 (ZWQ#5 续3)
真根因(比标记更基础):商品库生成的三视图 in_library=False(工作台生成默认不入资产库),
而商品详情原回填读的是 assetsPage({product}) 默认只返 in_library=True 的结果 → 三视图被过滤掉、
压根不在前端数据里 → 回填永远看不到,刷新即「尚未生成」。

修:三视图面板单独拉一次 in_library:"all" 的商品资产(asset_type=image)做回填,
不影响 AI 素材 grid(仍只显已入库)。依赖 assetReload 重拉,生成后即时回显;
配合上一commit的 view=three_view 标记,刷新/跨模块都认得出。
注:存量旧三视图(标记前生成)无 view 标记仍认不出,需重新生成一次。

构建 tsc=0/build=0。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 14:09:34 +08:00
..