Просмотр исходного кода

fix(message/detail): 附件不存在时也显示空的unicard

HMY 1 год назад
Родитель
Сommit
e73827482d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      pages/message/detail/index.vue

+ 2 - 2
pages/message/detail/index.vue

@@ -33,8 +33,8 @@
 				
 			</view>
 		</uni-card>
-		<uni-card>
-			<view v-if="attachments.length>0">
+		<uni-card  v-if="attachments.length>0">
+			<view>
 				<attachment-list :attachments="attachments" ></attachment-list>
 			</view>
 		</uni-card>