Commit 811068d0 by 李伟康

refactor(components): 修改 SkuGoodsList 组件中的属性引用

- 将 watchAllChose 方法中的 goodsList 属性引用从 list 改为 listData
- 这个改动是为了更好地与组件中的其他属性保持一致,提高代码的可读性和维护性
1 parent e7ed1fd6
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
}, },
async watchAllChose (index, cancel) { async watchAllChose (index, cancel) {
let { let {
list: goodsList, listData: goodsList,
} = this; } = this;
let result = goodsList[index].multipleSpecificationsGoods.specificationList.every(item => item.value) let result = goodsList[index].multipleSpecificationsGoods.specificationList.every(item => item.value)
if (result) { if (result) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!