fix: isUnocssIcon 没有了
This commit is contained in:
parent
4f6d271c28
commit
84d4607b2a
@ -62,6 +62,7 @@ module.exports = {
|
||||
'no-plusplus': 'off',
|
||||
'no-shadow': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'vue/no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'no-underscore-dangle': 'off',
|
||||
'no-use-before-define': 'off',
|
||||
|
@ -8,7 +8,7 @@
|
||||
@change="selectTabBar"
|
||||
>
|
||||
<block v-for="(item, idx) in tabbarList" :key="item.path">
|
||||
<wd-tabbar-item v-if="item.isUnocssIcon" :title="item.text">
|
||||
<!-- <wd-tabbar-item v-if="item.isUnocssIcon" :title="item.text">
|
||||
<template #icon>
|
||||
<view
|
||||
h-40rpx
|
||||
@ -16,8 +16,8 @@
|
||||
:class="[item.icon, idx === tabbarStore.curIdx ? 'is-active' : 'is-inactive']"
|
||||
></view>
|
||||
</template>
|
||||
</wd-tabbar-item>
|
||||
<wd-tabbar-item v-else :title="item.text" :icon="item.icon"></wd-tabbar-item>
|
||||
</wd-tabbar-item> -->
|
||||
<wd-tabbar-item :title="item.text" :icon="item.icon"></wd-tabbar-item>
|
||||
</block>
|
||||
</wd-tabbar>
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user