Browse Source

no message

linwenxin 5 months ago
parent
commit
4b34a23f34
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/packageMine/pages/myWebsit.vue

+ 5 - 2
src/packageMine/pages/myWebsit.vue

@@ -82,9 +82,12 @@ export default {
   },
 
   methods: {
-    getList() {
+    async getList() {
+      var { latitude, longitude } = await this.$getLocation()
       this.$api.get('/user/apply/websit', {
-        isAll: true
+        isAll: true,
+        lat:latitude,
+        lng:longitude
       }).then(res => {
         this.refresherTriggered = false;
         this.dataList = res.data