From 6d5b9497a125100c1dfa387db76007524dbd3447 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 3 Jan 2025 22:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E6=97=A0=E7=94=A8=E7=A7=AF=E5=88=86=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/me/index.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pages/me/index.vue b/pages/me/index.vue index 9b9e805..30f06dd 100644 --- a/pages/me/index.vue +++ b/pages/me/index.vue @@ -321,7 +321,7 @@ onPullDownRefresh() { $cache_user.clear() this.getMyMoney() - this.getPoints() + // this.getPoints() uni.stopPullDownRefresh() }, onShow() { @@ -338,7 +338,7 @@ this.token = uni.getStorageSync('token') if (this.token) { this.getMyMoney() - this.getPoints() + // this.getPoints() this.$u.api.userinfo().then(res => { if (res.code === 0 && res.data) { uni.setStorageSync('zhiFuBao', res.data.zhiFuBao) @@ -362,17 +362,17 @@ let data = { userId: uni.getStorageSync('userId') } - this.$u.api.userVip(data).then(res => { - if (res.code === 0 && res.data && res.data.isVip === 2) { - this.isVIP = true; - this.endTime = res.data.endTime - uni.setStorageSync('isVIP', true) - } else { - this.isVIP = false; - this.endTime = '' - uni.setStorageSync('isVIP', false) - } - }) + // this.$u.api.userVip(data).then(res => { + // if (res.code === 0 && res.data && res.data.isVip === 2) { + // this.isVIP = true; + // this.endTime = res.data.endTime + // uni.setStorageSync('isVIP', true) + // } else { + // this.isVIP = false; + // this.endTime = '' + // uni.setStorageSync('isVIP', false) + // } + // }) this.isLogin = true this.userName = uni.getStorageSync('userName')