森林经营项目
parent
001176c0cd
commit
84a44db965
2
app.js
2
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()
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue