fix name of country
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
This commit is contained in:
@@ -23,12 +23,17 @@ const props = defineProps({
|
||||
type: Object,
|
||||
default: []
|
||||
},
|
||||
countryHash: {
|
||||
type: Object,
|
||||
default: []
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
console.log(props.countryHash);
|
||||
let tproducts = computed(() => {
|
||||
return props.products.map((prod) => {
|
||||
prod.salesPrice = parseFloat(prod.salesPrice);
|
||||
prod.country = props.countryHash[prod.country];
|
||||
return prod;
|
||||
} )
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user