H5/pages/statistics/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | 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];