linlinjava 5 years ago
parent
commit
7684810beb
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

@@ -134,7 +134,7 @@ Page({
     }).then(function(res) {
       if (res.errno === 0) {
 
-        let _specificationList = res.data.productList;
+        let _specificationList = res.data.specificationList;
         let _tmpPicUrl = res.data.productList[0].url;
         //console.log("pic: "+_tmpPicUrl);
         // 如果仅仅存在一种货品,那么商品页面初始化时默认checked