This commit is contained in:
670788339
2025-11-04 11:27:55 +08:00
parent 81b8ef168c
commit 2a633e25e5

View File

@@ -253,12 +253,18 @@ 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('标签创建成功',newTag);
console.log("----------创建前---------->",this.searchResults)
console.log("----------创建前---------->",this.selectedTags)
const {result:newTag} = await apiCourseTag.createTag(this.params)
this.$message.success('标签创建成功',newTag);
console.log("----------newTag---------->",newTag)
console.log("----------newTag---------->",newTag.tagName)
this.searchResults.push(newTag)
this.tagMap.set(newTag.id, newTag)