fix:修复页面标签缺失的问题;

master
何应权 2026-07-07 16:30:41 +08:00
parent 7ceb854694
commit 778b503f20
1 changed files with 4 additions and 2 deletions

View File

@ -55,8 +55,10 @@
<view style="width: 140rpx;"></view> <view style="width: 140rpx;"></view>
</view> </view>
</view> </view>
<scroll-view v-if="userRoutes.length>0 scroll-x class="bg-white nav work-container" scroll-with-animation :scroll-left="scrollLeft"> <scroll-view v-if="userRoutes.length>0" scroll-x class="bg-white nav work-container" scroll-with-animation :scroll-left="scrollLeft">
<view class="cu-item" :class="index==TabCur?'text-green cur':''" v-for="(item,index) in userRoutes" <view class="cu-item"
:class="index==TabCur?'text-green cur':''"
v-for="(item,index) in userRoutes"
:key="index" @tap="tabSelect" :data-id="index" :data-routeList="item"> :key="index" @tap="tabSelect" :data-id="index" :data-routeList="item">
{{item.title}} {{item.title}}
</view> </view>