@ -53,7 +53,12 @@ export default {
Skeleton
},
// eslint-disable-next-line vue/require-prop-types
props: ['goodsId'],
props: {
goodsId: {
type: String,
default: ''
}
data() {
return {
banner: [],
@ -14,6 +14,7 @@
<goods-item
v-for="(item,idx) in list"
:key="idx"
:goods-id="item.id"
:img="item.picUrl"
:title="item.name"
:desc="item.brief"