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