From e916b867b6b966b55bdc36323197121cb3f8754e Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期二, 20 五月 2025 23:42:31 +0800
Subject: [PATCH] fix

---
 H5/pages/statistics/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/H5/pages/statistics/index.vue b/H5/pages/statistics/index.vue
index 38c299f..18f0b48 100644
--- a/H5/pages/statistics/index.vue
+++ b/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];

--
Gitblit v1.7.1