1
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
v-for="(item2, index2) in item1.children" :key="index2"
|
v-for="(item2, index2) in item1.children" :key="index2"
|
||||||
@click.stop="clickCourseInfo(item2)">
|
@click.stop="clickCourseInfo(item2)">
|
||||||
<text class="textss">{{item2.title}}</text>
|
<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']" -->
|
<!-- <view :class="['item', 'leve4']" -->
|
||||||
<!-- <template> -->
|
<!-- <template> -->
|
||||||
<text class="textss" v-for="(item3, index3) in item2.children"
|
<text class="textss" v-for="(item3, index3) in item2.children"
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
this.$http
|
this.$http
|
||||||
.post('medical/home/getCourseMedicalTree')
|
.post('medical/home/getCourseMedicalTree')
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code == 0 && res.labels.length > 0) {
|
if (res.code == 0 && res.labels.length > 0) {
|
||||||
this.treeList = res.labels
|
this.treeList = res.labels
|
||||||
} else {
|
} else {
|
||||||
this.treeList = []
|
this.treeList = []
|
||||||
|
|||||||
Reference in New Issue
Block a user