소스 검색

食物调整

wangxy 4 달 전
부모
커밋
3c2591a061
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>