F 修复发布申请其他状态计数未正常更新问题

pull/161/head
vapao 2020-07-23 17:00:23 +08:00
parent cbdfe552c2
commit bdcf789ff8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Store {
}; };
_updateCounter = () => { _updateCounter = () => {
const counter = {'all': 0, '-3': 0, '-1': 0, '0': 0, '1': 0, '2': 0, '3': 0}; const counter = {'all': 0, '-3': 0, '0': 0, '1': 0, '3': 0, '99': 0};
for (let item of this.records) { for (let item of this.records) {
counter['all'] += 1; counter['all'] += 1;
if (['-1', '2'].includes(item['status'])) { if (['-1', '2'].includes(item['status'])) {