Browse Source

Merge branch 'master' of http://git.huaml.com/zhh/front-end

shish 5 years ago
parent
commit
b4fab2db7d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      ghsApp/src/admin/item/list.vue

+ 2 - 3
ghsApp/src/admin/item/list.vue

@@ -27,11 +27,10 @@
 						<view class="item_list_title" v-if="!$util.isEmpty(classItem.child)"> {{ classItem.className }}</view>
 						<text v-if="tabs[tabIndex].name=='库存预警'&&$util.isEmpty(classItem.child)">当前库存充足</text>
 						<template v-for="(productItem, productIndex) in classItem.child">
-							<view style="height: 200rpx" :id="`class_${classIndex}`" :key="classIndex">
+							<view style="height: 200rpx" :id="`class_${classIndex}`" :key="productIndex">
 								<ItemStock v-if="classItem.isActive"
 								:isPrice="false"
 								:type="tabs[tabIndex].key"
-								:key="productIndex"
 								:info="productItem"
 							></ItemStock>
 							</view>
@@ -246,4 +245,4 @@ export default {
 		}
 	}
 }
-</style>
+</style>