bug
This commit is contained in:
		@@ -159,7 +159,7 @@ export default {
 | 
			
		||||
              this.timestamp = discussTime - nowTime
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (res.data.type === '1') {
 | 
			
		||||
            if (res.data.type === '1' && res.data.statistic) {
 | 
			
		||||
              const total = Object.values(res.data.statistic).reduce((x, y) => {
 | 
			
		||||
                return x + y
 | 
			
		||||
              })
 | 
			
		||||
@@ -171,11 +171,12 @@ export default {
 | 
			
		||||
                }
 | 
			
		||||
              })
 | 
			
		||||
            }
 | 
			
		||||
            this.pageShow = true
 | 
			
		||||
 | 
			
		||||
            this.$hideLoading()
 | 
			
		||||
            this.pageShow = true
 | 
			
		||||
          } else {
 | 
			
		||||
            this.$hideLoading()
 | 
			
		||||
            this.pageShow = true
 | 
			
		||||
          }
 | 
			
		||||
        })
 | 
			
		||||
        .catch(() => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user