This commit is contained in:
yanran200730
2022-01-07 17:19:29 +08:00
parent 9f2a655add
commit ff2fdc424f
2 changed files with 33 additions and 32 deletions

View File

@@ -141,7 +141,7 @@ export default {
this.timestamp = discussTime - nowTime
}
if (res.data.voteType === '1') {
if (res.data.type === '1') {
const total = Object.values(res.data.statistic).reduce((x, y) => {
return x + y
})