This commit is contained in:
zhangsir
2024-06-25 23:00:17 +08:00
parent 2cfa2e7202
commit b973ebccc5
2 changed files with 9 additions and 4 deletions

View File

@@ -16,10 +16,10 @@
<image class="img" src="../../static/images/learnpath/otherpath.png" mode=""></image>
<text class="text">其他路径</text>
</view>
<view class="item">
<!-- <view class="item">
<image class="img" src="../../static/images/learnpath/notpath.png" mode=""></image>
<text class="text">其他路径(无权限)</text>
</view>
</view> -->
</view>
<view class="table">
<view class="table-container">
@@ -45,11 +45,11 @@
src="@/static/images/learnpath/otherpath.png"
mode="aspectFit"
/>
<image
<!-- <image
v-else-if="!(t && t.permission)"
src="@/static/images/learnpath/notpath.png"
mode="aspectFit"
/>
/> -->
<text v-else></text>
</td>
</tr>

View File

@@ -131,6 +131,7 @@
} else {
this.indexs.push(index);
}
console.log(this.indexs,'this.indexs')
this.posiData = this.indexs.map(index => this.startList[index]);
},
downList(){
@@ -143,6 +144,10 @@
} else {
this.bandIndexs.push(index);
}
if(this.bandIndexs.length == 0){
return
}
console.log(this.bandIndexs,'this.bandIndexs')
this.bandItem = this.bandIndexs.map(index => this.bandLists[index])
this.bandItem = this.bandItem.sort((a, b) => parseInt(a.bandId, 10) - parseInt(b.bandId, 10));
this.bandFirst = this.bandItem[0].bandCode