Skip to content

Commit ccf976a

Browse files
authored
fix: 🐛 修复 Tabs 组件导航地图标题不生效的问题 (#869)
1 parent fb980e7 commit ccf976a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/uni_modules/wot-design-uni/components/wd-tabs

src/uni_modules/wot-design-uni/components/wd-tabs/wd-tabs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
</view>
105105
</view>
106106
<view class="wd-tabs__map-header" :style="`${state.mapShow ? '' : 'display:none;'} ${state.animating ? 'opacity:1;' : ''}`">
107-
{{ translate('all') }}
107+
{{ mapTitle || translate('all') }}
108108
</view>
109109
<view :class="`wd-tabs__map-body ${state.animating ? 'is-open' : ''}`" :style="state.mapShow ? '' : 'display:none'">
110110
<view class="wd-tabs__map-nav-item" v-for="(item, index) in children" :key="index" @click="handleSelect(index)">

0 commit comments

Comments
 (0)