Browse Source

fix[litemall-wx]: _specificationList没有specification属性,而是name属性。

Junling Bu 7 years ago
parent
commit
bba0c86c7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      litemall-wx/pages/goods/goods.js

+ 1 - 1
litemall-wx/pages/goods/goods.js

@@ -133,7 +133,7 @@ Page({
     let _specificationList = this.data.specificationList;
     for (let i = 0; i < _specificationList.length; i++) {
       let _checkedObj = {
-        name: _specificationList[i].specification,
+        name: _specificationList[i].name,
         valueId: 0,
         valueText: ''
       };