From de0eddc6d5646ed562279cc3eb16ab36feb59a1e Mon Sep 17 00:00:00 2001 From: liushaowen <565850092@qq.com> Date: Fri, 15 May 2020 17:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=89=A9=E4=B8=9A=E6=9C=8D=E5=8A=A1-?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=BA=E8=BF=94=E5=9B=9E=E6=97=B6=E5=88=B7?= =?UTF-8?q?=E6=96=B0project=E8=AF=A6=E6=83=85=E3=80=91=20-=E5=88=98?= =?UTF-8?q?=E7=BB=8D=E6=96=87=20-2020/05/15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epdc-resident-mp-yushan/pages/property/property.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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) => {},