mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
调试
This commit is contained in:
@@ -253,12 +253,18 @@ export default {
|
|||||||
if (this.sysTypeList.length > 2) {
|
if (this.sysTypeList.length > 2) {
|
||||||
this.params.sysType3 = this.sysTypeList[2]; //三级的id
|
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.searchResults)
|
||||||
console.log("----------创建前---------->",this.selectedTags)
|
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.searchResults.push(newTag)
|
||||||
this.tagMap.set(newTag.id, newTag)
|
this.tagMap.set(newTag.id, newTag)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user