diff --git a/src/views/portal/course/qualityCourse.vue b/src/views/portal/course/qualityCourse.vue index 45504a54..7921f98f 100644 --- a/src/views/portal/course/qualityCourse.vue +++ b/src/views/portal/course/qualityCourse.vue @@ -159,6 +159,18 @@ 学习项目
+ +
+ + {{ tag }} + +
@@ -616,7 +628,12 @@ export default { this.navTitle = [] this.searchData(); }, - + isTagMatched(tag) { + // 检查stagList中是否有匹配的标签 + return this.stagList.some(searchTag => + searchTag.tagName === tag || searchTag.name === tag + ); + }, // 导航全选 handleTypeAllClick(t) { if (t == 1) {