From 84a44db9653fa4b9cbcb35144c888d6573c33806 Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Fri, 3 Sep 2021 10:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=AE=E6=9E=97=E7=BB=8F=E8=90=A5=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/gproduct/gproduct.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index a0af77d..98fe64b 100644 --- a/app.js +++ b/app.js @@ -19,7 +19,7 @@ App({ wx.setStorageSync('urlPath', urlPath); let hInfo = wx.getAccountInfoSync(); // console.log(hInfo.envVersion);//develop:开发版 trial:体验版 release:正式版 - if(hInfo.miniProgram.envVersion != "trial"){ + if(hInfo.miniProgram.envVersion != "develop"){ console.log = () =>{} } // this.setOpenid() diff --git a/pages/gproduct/gproduct.js b/pages/gproduct/gproduct.js index 67c5127..91fbc64 100644 --- a/pages/gproduct/gproduct.js +++ b/pages/gproduct/gproduct.js @@ -262,6 +262,12 @@ Page({ console.log('res:',res); if (res.data.result == 'success') { var threeList = JSON.parse(res.data.data).cases; + console.log(threeList); + if(threeList[0].type=='forest_management'){ + that.setData({ + isXiangm:true + }) + } that.setData({ threeList: threeList, newDo_type: threeList[that.data.curCaseIndex].type,