|
@@ -11,7 +11,7 @@
|
|
|
import upLineProgress from "uview-plus/components/u-line-progress/u-line-progress.vue";
|
|
|
|
|
|
const props = defineProps({
|
|
|
- grouthType: {
|
|
|
+ growthType: {
|
|
|
type: [String,Number]
|
|
|
},
|
|
|
progress: {
|
|
@@ -21,7 +21,8 @@
|
|
|
})
|
|
|
|
|
|
const imgUrl = computed(() => {
|
|
|
- const active = gooseGrowthTypeList.find(item => item.grouthType == props.grouthType)
|
|
|
+ const active = gooseGrowthTypeList.find(item => item.grouthType == props.growthType)
|
|
|
+ console.log(active,props.growthType,props.progress)
|
|
|
return active ? active.imgUrl: ''
|
|
|
})
|
|
|
</script>
|