This commit is contained in:
@fawn-nine
2024-06-28 16:47:34 +08:00
parent bf13ad1868
commit bd398030ad

View File

@@ -28,7 +28,7 @@
v-for="(item2, index2) in item1.children" :key="index2"
@click.stop="clickCourseInfo(item2)">
<text class="textss">{{item2.title}}</text>
<view class="sub3List" v-if="item2.children && item2.children.length > 0">
<view class="sub3List" v-if="item2.isLast == 0 && item2.children && item2.children.length > 0">
<!-- <view :class="['item', 'leve4']" -->
<!-- <template> -->
<text class="textss" v-for="(item3, index3) in item2.children"
@@ -68,7 +68,7 @@
this.$http
.post('medical/home/getCourseMedicalTree')
.then(res => {
if (res.code == 0 && res.labels.length > 0) {
if (res.code == 0 && res.labels.length > 0) {
this.treeList = res.labels
} else {
this.treeList = []