小程序解决页面导航错误
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
wx:for="{{visibleTabs}}"
|
||||
wx:key="key"
|
||||
class="tabbar-item {{currentPath === item.pagePath ? 'active' : ''}}"
|
||||
data-item="{{item}}"
|
||||
data-key="{{item.key}}"
|
||||
bindtap="switchTab"
|
||||
>
|
||||
<image class="tabbar-icon" src="{{currentPath === item.pagePath ? item.selectedIconPath : item.iconPath}}" />
|
||||
|
||||
Reference in New Issue
Block a user