This commit is contained in:
张成
2025-12-10 00:35:15 +08:00
parent e2a8ed4e32
commit 7b620210a2
2 changed files with 46 additions and 4 deletions

View File

@@ -79,7 +79,8 @@ function Index() {
});
// 位置更新后,重新获取详情页数据(因为距离等信息可能发生变化)
await fetchDetail();
// 注意:这里不调用 fetchDetail避免与 useDidShow 中的调用重复
// 如果需要更新距离信息,可以在 fetchDetail 成功后根据当前位置重新计算
if (from === "publish") {
handleShare(true);
}