shuishen
2024-12-20 7b69904235671147f595064f43cf482473c8c836
去除默认定位
2 files modified
16 ■■■■ changed files
src/views/home/components/dialog/areaDetailsBox.vue 8 ●●●● patch | view | raw | blame | history
src/views/home/components/dialog/keyPersonBox.vue 8 ●●●● patch | view | raw | blame | history
src/views/home/components/dialog/areaDetailsBox.vue
@@ -219,13 +219,7 @@
        if (res.data.data.records.length > 0) {
          this.peoplePage.total = res.data.data.total
          setTimeout(() => {
            this.peopleInfoList = res.data.data.records.map(item => {
              return {
                ...item,
                lng: 120,
                lat: 24
              }
            })
            this.peopleInfoList = res.data.data.records
          }, 200)
        } else {
          this.peopleInfoList = []
src/views/home/components/dialog/keyPersonBox.vue
@@ -247,13 +247,7 @@
        if (res.data.data.records.length > 0) {
          this.keyPersonEmptyText = ""
          this.peoplePage.total = res.data.data.total
          this.keyPersonDetailArr = res.data.data.records.map(item => {
            return {
              ...item,
              lng: 120,
              lat: 24
            }
          })
          this.keyPersonDetailArr = res.data.data.records
        } else {
          this.keyPersonEmptyText = "暂无重点人员数据"
          this.keyPersonDetailArr = []