diff --git a/hooks/useLocation.js b/hooks/useLocation.js index 5bd77c3..4740e22 100644 --- a/hooks/useLocation.js +++ b/hooks/useLocation.js @@ -28,6 +28,7 @@ export function useLocation() { // 3️⃣ 没有定位才请求 SFUIP.getLocation().then(res => { + console.log(res,"SFUIP.getLocation"); if (!res.success) { resolve(false); return; diff --git a/index.html b/index.html index d17d717..682649c 100644 --- a/index.html +++ b/index.html @@ -13,8 +13,9 @@ - +