修复聚合搜索总页计算问题

pull/495/head
lyswhut 2021-03-24 11:06:18 +08:00
parent 8845884b24
commit 8bed654756
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ const mutations = {
list.push(...source.list)
pages.push(source.allPage)
total += source.total
limit += source.limit
// limit = Math.max(source.limit, limit)
}
state.allPage = Math.max(...pages)
state.total = total