diff --git a/pages/gproduct/gproduct.js b/pages/gproduct/gproduct.js index f46de60..d1ff3cd 100644 --- a/pages/gproduct/gproduct.js +++ b/pages/gproduct/gproduct.js @@ -255,7 +255,8 @@ Page({ 'openid': wx.getStorageSync('openid'), }, success(res) { - if (res.data.result == 'success') { + if (res.data.result == 'success') { + console.log(JSON.parse(res.data.data)) that.setData({ list: JSON.parse(res.data.data), carbon: carbon, diff --git a/pages/gproduct/gproduct.wxml b/pages/gproduct/gproduct.wxml index e76459f..01bdd30 100644 --- a/pages/gproduct/gproduct.wxml +++ b/pages/gproduct/gproduct.wxml @@ -54,7 +54,7 @@ - 可选树种 + 可选作业方式