修复tab显示一个bug

This commit is contained in:
wangsongsole 2022-09-27 10:13:05 +08:00
parent eb2a54580f
commit ac5dc6d5d4
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
align-items: center;
border-top: 0.01rem solid #E6E6E6;
position: fixed;
z-index: 9999;
z-index: 999;
bottom: 0;
left: 0;
right: 0;

View File

@ -1,7 +1,7 @@
const tabComponent = {
template: `
<ul class="tabList"
v-if="tabData.iswitch==='1'&&list.length>1"
v-if="tabData.iswitch==='1'&&list.length<1"
:style="{background:(tabData.background?'url('+tabData.background+')':'#fff'),backgroundSize:'100% 100%'}"
>
<template v-for="item in list">