Selaa lähdekoodia

Merge branch 'cygx8.3'

cxmo 2 vuotta sitten
vanhempi
commit
72b5fa8c93
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      reportPages/IndustryReport/IndustryReport.vue

+ 3 - 2
reportPages/IndustryReport/IndustryReport.vue

@@ -188,7 +188,6 @@ export default {
     getCollectList() {
       //just for test
       if(this.tabAct_id===99999) {
-        this.loadTimeLine = true
         Reports.getArticleList({
         PageSize: this.pageSize,
         CurrentIndex: this.page_no,
@@ -196,6 +195,7 @@ export default {
         IndustrialManagementId: this.industrialManagementId,
       }).then((res)=>{
        if(res.Ret===200){
+         this.loadTimeLine = true
          this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore"
          this.totalPage = res.Data.Paging.Pages
          let list = res.Data.List||[]
@@ -229,7 +229,7 @@ export default {
         })
         setTimeout(()=>{
           this.getConentsHeight()
-        },300)
+        },0)
       })
         return
       }
@@ -320,6 +320,7 @@ export default {
       const query = wx.createSelectorQuery()
       query.selectAll(".rich-text").boundingClientRect()
       query.exec(res=>{
+        /* console.log(res[0][0].height) */
         //根据timeLine的第一项确定当前手机三行文字的高度
         const standardHeight = res[0][0].height 
         this.richTextHeight = standardHeight