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