From 0f52a69beb9fca5b9ef990b13e63efa383604b7e Mon Sep 17 00:00:00 2001 From: "dong.ai" Date: Sun, 14 Sep 2025 17:07:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E8=97=8F=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/interactBar.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index f13caba0..edc97c7d 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -44,7 +44,7 @@
- {{ data.favorites? data.favorites:0}} + {{ data.favorites? data.favorites:1}}
@@ -335,7 +335,7 @@ export default { checkHas(){ if(this.type>0 && !this.readonly && this.data.id){ if(this.favorites){ - apiFavorites.has(this.type,this.data.id).then(rs=>{ + apiFavorites.has(this.type,this.data.id || this.data.courseId).then(rs=>{ if(rs.status==200 && rs.result){ this.isFavorite=true; }else{