代码注释添加

This commit is contained in:
mabo
2021-07-28 17:07:37 +08:00
parent 94a9404b39
commit cd0cd14f77
8 changed files with 8531 additions and 8333 deletions

View File

@@ -144,6 +144,7 @@ import { addCartGoods } from '@/api/cart.js';
export default {
name: 'ShowGoods',
props: {
// 商品数据
detail: {
type: Object,
default: null
@@ -168,10 +169,7 @@ export default {
isCollected: false // 是否收藏
};
},
components: {
PicZoom,
Promotion
},
components: { PicZoom, Promotion },
methods: {
select (index, value) { // 选择规格
this.$set(this.currentSelceted, index, value);