Commit 811068d0 by 李伟康

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

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