From a25198f80f0531f70de49d175992985c2fcfc2e4 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Tue, 4 Nov 2025 12:41:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/courseTag.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/Course/courseTag.vue b/src/components/Course/courseTag.vue index 45bf0692..33512508 100644 --- a/src/components/Course/courseTag.vue +++ b/src/components/Course/courseTag.vue @@ -273,14 +273,10 @@ export default { console.log("----------newTag---------->",newTag.tagName) - this.previousTags.push(newTag) - this.selectedTags = [...this.previousTags]; - this.$emit('change', this.displayTags); - + this.selectedTags.push(newTag); this.searchResults.push(newTag) this.tagMap.set(newTag.id, newTag) - // this.selectedTags.push(newTag); console.log("----------创建后---------->",this.searchResults) console.log("----------创建后---------->",this.selectedTags)