diff --git a/src/components/Course/courseTag.vue b/src/components/Course/courseTag.vue index b1e7571d..37851b34 100644 --- a/src/components/Course/courseTag.vue +++ b/src/components/Course/courseTag.vue @@ -179,8 +179,8 @@ export default { if (this.sysTypeList.length > 2) { this.params.sysType3 = this.sysTypeList[2]; //三级的id } - // const {result:newTag} = await apiCourseTag.createTag(this.params) - this.$message.success('标签创建成功'); + const {result:newTag} = await apiCourseTag.createTag(this.params) + this.$message.success('标签创建成功',newTag); this.searchResults.push(newTag) console.log("----------newTag---------->",this.searchResults) this.tagMap.set(newTag.id, newTag)