fix
pyt
2 天以前 e916b867b6b966b55bdc36323197121cb3f8754e
fix
1个文件已修改
5 ■■■■■ 已修改文件
H5/pages/statistics/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/statistics/index.vue
@@ -443,6 +443,9 @@
  },
  onLoad() {
    this.userInfo = uni.getStorageSync("userInfo");
    if (this.userInfo.identity == 1) {
        this.userInfo.isAdmin = 0
    }
    this.initRegionData();
  },
  mounted() {
@@ -467,8 +470,6 @@
    initRegionData() {
      getRegionTree().then((res) => {
        if (res.code === 200) {
            console.log(JSON.stringify(res.data));
          this.regionTree = [{name: '全部', id: 'all', tier: 2, children: []}, ...(res.data || [])];
          this.value = [0, 0, 0];
          this.confirmValue = [0, 0, 0];