wangxy il y a 1 mois
Parent
commit
210cd1626b
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      pages/client/Chengji/list.vue
  2. 1 1
      pages/client/Lianxi/list.vue

+ 1 - 1
pages/client/Chengji/list.vue

@@ -9,7 +9,7 @@
 			:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh" @scrolltolower="onScrolltolower"
 			class="phone-scroll-view">
 			<uni-list class="admin-list-box">
-				<uni-list-item v-for="item in data.list" class="admin-list-item-box">
+				<uni-list-item v-for="item in data.list" class="admin-list-item-box" :key="item.hisId">
 					<template v-slot:body>
 						<view class="item-card-row">
 							<!-- 数量 -->

+ 1 - 1
pages/client/Lianxi/list.vue

@@ -6,7 +6,7 @@
 			:refresher-threshold="50" refresher-background="transparent" @refresherrefresh="onRefresh" @scrolltolower="onScrolltolower"
 			:style="{ height: `calc(100vh - ${statusBarHeight}px - 212rpx);`}" class="phone-scroll-overflow">
 			<uni-list class="admin-list-box">
-				<uni-list-item v-for="item in data.list" class="admin-list-item-box" >
+				<uni-list-item v-for="item in data.list" class="admin-list-item-box" :key="item.lxId">
 					<template v-slot:body style="width: 100%;">
 						<!-- 考试项 -->
 						<view class="item-card-row">