wgl 4 年之前
父節點
當前提交
6ad6dddb25
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/projects/business/views/Common/Notice/Info.vue

+ 2 - 2
src/projects/business/views/Common/Notice/Info.vue

@@ -14,8 +14,8 @@
 			<div v-if="noticeList.length" class="vongi-notice-list">
 				<h3><img src="~$project/assets/img/text.png" width="12" />相关内容</h3>
 				<div class="vongi-floor-padded">
-					<router-link :to="{name:'CommonNoticeInfo',query:{id:item.id}}" v-for="(item,index) in noticeList" class="mui-ellipsis"
-					 v-text="item.title"></router-link>
+					<router-link :to="{name:'CommonNoticeInfo',query:{id:item.id}}" v-for="(item,index) in noticeList" :key="index"
+					 class="mui-ellipsis" v-text="item.title"></router-link>
 				</div>
 			</div>
 		</div>