소스 검색

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

HMY 1 년 전
부모
커밋
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>