From 2c2f666c4ab23a8692910d0c4becc12a01b0c371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Wed, 20 Aug 2025 13:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AE=A1=E7=90=86=E7=AB=AF?= =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E8=AF=BE=E7=A8=8B=E6=B7=BB=E5=8A=A0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=B2=A1=E6=9C=89=E4=BC=A0=E9=80=92=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/courseForm.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 13ddd9a8..e38819dd 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -254,7 +254,7 @@ - + @@ -596,6 +596,15 @@ export default { closeKeywordsTag(item,index){ this.tips.splice(index, 1); }, + // 处理标签变化事件 + handleTagsChange(tags) { + console.log("父组件:",tags) + let ids = ""; + tags.forEach(tag=>{ + ids += tag.id + ','; + }) + this.courseInfo.tags = ids; + }, showChooseOrg(){ this.$refs.refChooseOrg.dlgShow = true; },