diff --git a/components/tagTree.vue b/components/tagTree.vue index 3368fe1..0a91751 100644 --- a/components/tagTree.vue +++ b/components/tagTree.vue @@ -28,7 +28,7 @@ v-for="(item2, index2) in item1.children" :key="index2" @click.stop="clickCourseInfo(item2)"> {{item2.title}} - + { - if (res.code == 0 && res.labels.length > 0) { + if (res.code == 0 && res.labels.length > 0) { this.treeList = res.labels } else { this.treeList = []