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:
@@ -256,6 +256,7 @@ export default {
|
||||
|
||||
console.log("----------创建前---------->",this.searchResults)
|
||||
console.log("----------创建前---------->",this.selectedTags)
|
||||
console.log("----------创建前---------->",this.previousTags)
|
||||
|
||||
const {result:newTag} = await apiCourseTag.createTag(this.params)
|
||||
this.$message.success('标签创建成功',newTag);
|
||||
@@ -264,7 +265,7 @@ export default {
|
||||
console.log("----------newTag---------->",newTag.tagName)
|
||||
|
||||
|
||||
|
||||
this.previousTags = [...newTag];
|
||||
this.searchResults.push(newTag)
|
||||
this.tagMap.set(newTag.id, newTag)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user