修改商品组件bug

master
hequan_waynaqua 4 years ago
parent d943031462
commit aeb1e4862c

@ -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"

Loading…
Cancel
Save