Authored by zhangwenxue

fix(商品列表): fix  添加埋点对象为空的判断

... ... @@ -30,7 +30,7 @@ export default {
},
methods: {
goDetail(product, index) {
if (Object.keys(this.yasParams).length) {
if (this.yasParams && Object.keys(this.yasParams).length) {
this.yasDetail(product.id, index);
}
this.$router.push({
... ...