fix: 每次打开商店弹窗时重新获取数据库最新数据

关闭商店弹窗时重置 shopLoaded 标志,确保下次打开时重新请求 /shop/items,避免展示过期数据。
This commit is contained in:
pllx
2026-04-27 06:30:52 +00:00
parent 66206fa521
commit 83c312196c
+1
View File
@@ -154,6 +154,7 @@ export function closeShopModal() {
if (modal) {
modal.style.display = "none";
}
shopLoaded = false;
}
/**