From 455a23ea2d8cd9fa0f09b60742b52b2b830681b6 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Sat, 15 Oct 2022 20:03:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9U=E5=B8=81=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ucurrency/Index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/ucurrency/Index.vue b/src/views/ucurrency/Index.vue index ffcbc192..9224170d 100644 --- a/src/views/ucurrency/Index.vue +++ b/src/views/ucurrency/Index.vue @@ -56,7 +56,7 @@
-
{{current.total}}/{{current.endValue}}
+
{{currentUserRankingData.total}}/{{current.endValue}}
@@ -268,9 +268,9 @@ this.currentUserRankingData = res.result.currentUserRankingData; if(res.result.currentUserRankingData.total>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.total);} - if(res.result.currentUserRankingData.weeks>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.weeks);} - if(res.result.currentUserRankingData.months>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.months);} - if(res.result.currentUserRankingData.years>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.years);} + else if(res.result.currentUserRankingData.weeks>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.weeks);} + else if(res.result.currentUserRankingData.months>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.months);} + else if(res.result.currentUserRankingData.years>=0) {this.current = this.experienceValue(res.result.currentUserRankingData.years);} } const ids= [];