소스 검색

列表调整

wangxy 1 개월 전
부모
커밋
210cd1626b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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">