森林经营项目

master
chen 2021-09-03 10:02:54 +08:00
parent 001176c0cd
commit 84a44db965
2 changed files with 7 additions and 1 deletions

2
app.js
View File

@ -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()

View File

@ -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,