From e8f1e5d5c16430be62301396e88b6328799b1be8 Mon Sep 17 00:00:00 2001 From: J_yt <1592211625@qq.com> Date: Thu, 21 Apr 2022 18:40:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E8=AF=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/customer.vue | 4 ++-- pages/index/index.vue | 4 ++-- pages/index/learning.vue | 4 ++-- pages/index/personal.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/index/customer.vue b/pages/index/customer.vue index 708322f..b8267f1 100644 --- a/pages/index/customer.vue +++ b/pages/index/customer.vue @@ -114,8 +114,8 @@ 'Access-Token': uni.getStorageSync('weapp_session_login_data').token }, success: (res) => { - this.count = res.data.data.count - this.tabbarList[3].count = res.data.data.count + this.count = res.data.data + this.tabbarList[3].count = res.data.data } }) }, diff --git a/pages/index/index.vue b/pages/index/index.vue index ba5048a..7e5093f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -449,8 +449,8 @@ 'Access-Token': uni.getStorageSync('weapp_session_login_data').token }, success: (res) => { - this.count = res.data.data.count - this.tabbarList[3].count = res.data.data.count + this.count = res.data.data + this.tabbarList[3].count = res.data.data } }) }, diff --git a/pages/index/learning.vue b/pages/index/learning.vue index eddf962..e272ebb 100644 --- a/pages/index/learning.vue +++ b/pages/index/learning.vue @@ -102,8 +102,8 @@ 'Access-Token': uni.getStorageSync('weapp_session_login_data').token }, success: (res) => { - this.count = res.data.data.count - this.tabbarList[3].count = res.data.data.count + this.count = res.data.data + this.tabbarList[3].count = res.data.data } }) }, diff --git a/pages/index/personal.vue b/pages/index/personal.vue index 4326c07..f043725 100644 --- a/pages/index/personal.vue +++ b/pages/index/personal.vue @@ -129,8 +129,8 @@ 'Access-Token': uni.getStorageSync('weapp_session_login_data').token }, success: (res) => { - this.count = res.data.data.count - this.tabbarList[3].count = res.data.data.count + this.count = res.data.data + this.tabbarList[3].count = res.data.data } }) },