From 2a374338cfe296c3b8f0b0f8e9f72185e7bc8a10 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 16:42:31 +0800
Subject: [PATCH] fix: bug
---
packages/utils/location.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/utils/location.ts b/packages/utils/location.ts
index dec2f88..b261689 100644
--- a/packages/utils/location.ts
+++ b/packages/utils/location.ts
@@ -45,7 +45,7 @@
}
static async getLocationImp() {
- let geocoderRes = await this.getLocationByIp().catch(() => this.getLocationByIp());
+ let geocoderRes = await this.getLocationByGeocoder().catch(() => this.getLocationByIp());
console.log('geocoderRes: ', geocoderRes);
return geocoderRes;
--
Gitblit v1.9.1