修改部分已发现的bug

This commit is contained in:
lemon橪
2021-12-24 09:12:21 +08:00
parent 896749d812
commit 3a2202a2e8
5 changed files with 43 additions and 11 deletions

View File

@@ -160,10 +160,10 @@ export default {
buyMask: {
type: Boolean,
default: false,
},
isGroup: {
type: Boolean,
default: false,
},
isGroup: {
type: Boolean,
default: false,
},
goodsDetail: {
default: "",
@@ -323,6 +323,10 @@ export default {
formatSku(list) {
// 格式化数据
let arr = [{}];
if(!Array.isArray(list)){
return false
}
list.forEach((item, index) => {
item.specValues.forEach((spec, specIndex) => {
let name = spec.specName;