diff --git a/epdc-resident-mp-yushan/pages/property/property.js b/epdc-resident-mp-yushan/pages/property/property.js index f7cfaf7..09f794a 100644 --- a/epdc-resident-mp-yushan/pages/property/property.js +++ b/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) => {},