Browse Source

【物业服务-设置为返回时刷新project详情】 -刘绍文 -2020/05/15

feature/v2.0
liushaowen 5 years ago
parent
commit
de0eddc6d5
  1. 11
      epdc-resident-mp-yushan/pages/property/property.js

11
epdc-resident-mp-yushan/pages/property/property.js

@ -60,10 +60,7 @@ Page({
})
this.initTab();
}else{
this.setData({
refreshFlag:true,
isLoading:false
})
this.initPropertyInfo(this.data.tabList[this.data.currentTabIndex].id);
}
},
initTab(){
@ -93,7 +90,8 @@ Page({
api.getPropertyProjectDetail(id).then(res=>{
this.setData({
projectInfo:res.data,
isLoading:false
isLoading:false,
refreshFlag:false
})
wx.hideLoading({
complete: (res) => {},
@ -101,7 +99,8 @@ Page({
}).catch(err=>{
this.setData({
projectInfo:{},
isLoading:false
isLoading:false,
refreshFlag:false
})
wx.hideLoading({
complete: (res) => {},

Loading…
Cancel
Save