From adf1e5b60b3b53e443ec84c7680781f7d624d163 Mon Sep 17 00:00:00 2001 From: nyoung <12190070+nyoungo@user.noreply.gitee.com> Date: Thu, 22 Aug 2024 21:41:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.vue | 2 +- pages/my/StatisticsInfo.vue | 10 +++++++--- pages/my/my.vue | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 37956f8..6574c2d 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -318,7 +318,7 @@ userJson.userId = res.data.user.userId uni.setStorageSync('userInfo', res.data.user) uni.setStorageSync('userId', res.data.user.userId) - uni.setStorageSync('role', res.data.role) + uni.setStorageSync('role', res.data.roles) this.goselect() }) } diff --git a/pages/my/StatisticsInfo.vue b/pages/my/StatisticsInfo.vue index c449b95..cc43855 100644 --- a/pages/my/StatisticsInfo.vue +++ b/pages/my/StatisticsInfo.vue @@ -1,5 +1,8 @@