From d0d831ec744fc1e1c211039075a8ef8a76fab78e Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Fri, 17 Sep 2021 16:02:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/gproduct/gproduct.js | 3 ++- pages/gproduct/gproduct.wxml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @@ - 可选树种 + 可选作业方式