李志伟 3 年前
父节点
当前提交
9d60fa68b5
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      src/components/AreaPicker/index.vue

+ 3
- 1
src/components/AreaPicker/index.vue 查看文件

@@ -80,7 +80,9 @@ export default {
80 80
         .then((res) => res.json())
81 81
         .then((res) => {
82 82
           console.log('🚀 ~ file: index.vue ~ line 84 ~ .then ~ res', res)
83
-          this.list = res.districts[0].districts
83
+          var cityList = res.districts[0].districts
84
+          cityList.splice(23, 3)
85
+          this.list = cityList
84 86
           localStorage.setItem('area', this.list)
85 87
           this.loading = false
86 88
         })