From 555a2ddc166353a7f829173ff317f088fa190e68 Mon Sep 17 00:00:00 2001 From: HycJack <772403255@qq.com> Date: Tue, 26 May 2026 03:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E4=B8=8D?= =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E6=97=B6=EF=BC=8C=E5=9C=B0=E5=9B=BE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=8F=90=E7=A4=BA=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- banban-mini/src/pages/location/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/banban-mini/src/pages/location/index.tsx b/banban-mini/src/pages/location/index.tsx index c4b1087..1de90fb 100644 --- a/banban-mini/src/pages/location/index.tsx +++ b/banban-mini/src/pages/location/index.tsx @@ -132,7 +132,7 @@ export default function Location() { ) useDidShow(() => { - void loadLocation() + void loadLocation(true) }) const loadLocation = async (showToast = false, nextMode?: TrajectoryMode) => { @@ -243,6 +243,10 @@ export default function Location() { }) } } catch (error: any) { + if (showToast) { + Taro.hideLoading() + } + setLoading(false) console.error('[location] load failed:', error) Taro.showToast({ title: error?.message || '位置更新失败',