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