wenhongquan 3 năm trước cách đây
mục cha
commit
9f86d8bc7a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/IncidentManagementReport/index.tsx

+ 2 - 2
src/views/IncidentManagementReport/index.tsx

@@ -117,8 +117,8 @@ export default defineComponent({
           (position: GeolocationPosition) => {
             console.log(position.coords.longitude);
             console.log(position.coords.latitude);
-            var location = '118.28,33.97';
-            // var location = `${position.coords.longitude},${position.coords.latitude}`;
+            // var location = '118.28,33.97';
+            var location = `${position.coords.longitude},${position.coords.latitude}`;
              fetch(
                `https://minedata.cn/service/lbs/reverse/v1/regeo?location=${location}&key=${window.key}`,
              )