From a0d77badf98cb7f37e390c64c03f0c64a38762d3 Mon Sep 17 00:00:00 2001 From: daihh Date: Fri, 4 Nov 2022 02:31:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E8=BD=AE=E6=92=AD=E5=9B=BE?= =?UTF-8?q?=E6=97=A0=E8=BF=9E=E6=8E=A5=E4=B8=8D=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 6 ++++-- src/views/user/ranking.vue | 16 ++++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index 917b8e6e..7d9d7280 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -660,7 +660,9 @@ this.showLoginMedal=false; }, banJump(item) { - window.open(item.JumpUrl); + if(item.JumpUrl){ + window.open(item.JumpUrl); + } }, //上次学习记录 getLastStudy() { @@ -702,7 +704,7 @@ } }); }else { - if(this.userHobby.needShow){ + if(this.userHobby.needShow){ this.$refs.userCollection.show(); }else{ if(this.needLoginMedal){ diff --git a/src/views/user/ranking.vue b/src/views/user/ranking.vue index d9785d6d..3da9b764 100644 --- a/src/views/user/ranking.vue +++ b/src/views/user/ranking.vue @@ -22,9 +22,9 @@ 累计 - 本周 + @@ -127,9 +127,9 @@ 累计 - 本周 + @@ -214,9 +214,9 @@ 累计 - 本周 + @@ -259,13 +259,13 @@ - +
.
.
.
- +
{{learningDays.data.rankingNo}}