当数据列表为空且showType不为空时,将内容区域的display属性设置为block以确保正确显示
@@ -47,7 +47,7 @@
</div>
- <div :class="{'ac_content': showType !== ''}">
+ <div :class="{'ac_content': showType !== ''}" :style="{display: dataList.length === 0 && showType !== '' ? 'block' : 'grid'}">
<template v-for="(item) in dataList">