Browse Source

食物调整

wangxy 4 tháng trước cách đây
mục cha
commit
3c2591a061
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/game/components/food.vue

+ 1 - 1
pages/game/components/food.vue

@@ -10,7 +10,7 @@
 	})
 	
 	const imgUrl = computed(() => {
-		const active = foodSpeciesList.find(item => item.id == props.shiwuId)
+		const active = foodSpeciesList.find(item => item.credit == props.shiwuId)
 		return active ? active.imgUrl: ''
 	})
 </script>