森林经营项目

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); wx.setStorageSync('urlPath', urlPath);
let hInfo = wx.getAccountInfoSync(); let hInfo = wx.getAccountInfoSync();
// console.log(hInfo.envVersion);//develop:开发版 trial体验版 release正式版 // console.log(hInfo.envVersion);//develop:开发版 trial体验版 release正式版
if(hInfo.miniProgram.envVersion != "trial"){ if(hInfo.miniProgram.envVersion != "develop"){
console.log = () =>{} console.log = () =>{}
} }
// this.setOpenid() // this.setOpenid()

View File

@ -262,6 +262,12 @@ Page({
console.log('res:',res); console.log('res:',res);
if (res.data.result == 'success') { if (res.data.result == 'success') {
var threeList = JSON.parse(res.data.data).cases; var threeList = JSON.parse(res.data.data).cases;
console.log(threeList);
if(threeList[0].type=='forest_management'){
that.setData({
isXiangm:true
})
}
that.setData({ that.setData({
threeList: threeList, threeList: threeList,
newDo_type: threeList[that.data.curCaseIndex].type, newDo_type: threeList[that.data.curCaseIndex].type,