zhanghui 1 жил өмнө
parent
commit
baeab0ebf4

+ 7 - 2
pages/message/module/mescrollUni-item.vue

@@ -9,8 +9,13 @@
 		:up="upOption" @up="upCallback" @emptyclick="emptyClick">
 		<!-- 数据列表 -->
 		<view :style="{'height':height}" class="flex-col justify-between">
-			<normalMsg v-if="index === 0" :list="normalMsgList"></normalMsg>
-			<sysMsg v-if="index === 1" :list="sysMsgList"></sysMsg>
+			<view v-if="normalMsgList.length>0">
+				<normalMsg v-if="index === 0" :list="normalMsgList"></normalMsg>
+			</view>
+			<view v-if="sysMsgList.length>0">
+				<sysMsg v-if="index === 1" :list="sysMsgList"></sysMsg>
+			</view>
+
 			<my-swiper :type=4 ></my-swiper>
 		</view>