From a0d77badf98cb7f37e390c64c03f0c64a38762d3 Mon Sep 17 00:00:00 2001 From: daihh Date: Fri, 4 Nov 2022 02:31:17 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E8=BD=AE=E6=92=AD?= =?UTF-8?q?=E5=9B=BE=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}}
From 261740df8a8477859a4fa1bdd523def1d9270147 Mon Sep 17 00:00:00 2001 From: daihh Date: Fri, 4 Nov 2022 02:32:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/author.vue | 2 +- src/components/Portal/authorInfo.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Portal/author.vue b/src/components/Portal/author.vue index a7f183ae..7e1e8958 100644 --- a/src/components/Portal/author.vue +++ b/src/components/Portal/author.vue @@ -6,7 +6,7 @@
{{userName}} - ({{userInfo}}) + {{userInfo}}
diff --git a/src/components/Portal/authorInfo.vue b/src/components/Portal/authorInfo.vue index 822246f1..49a67cdd 100644 --- a/src/components/Portal/authorInfo.vue +++ b/src/components/Portal/authorInfo.vue @@ -14,7 +14,7 @@
{{userName}} - ({{userInfo}}) + {{userInfo}}