From bee6a247bc0578568a9f4d1011fb5277af05a005 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 15 Nov 2023 18:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/views/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/views/request.js b/dist/views/request.js index 56a1be5..5a60baf 100644 --- a/dist/views/request.js +++ b/dist/views/request.js @@ -125,7 +125,7 @@ class Request extends Component { this.list = this.#list .filter(it => it.id.includes(filter) && (waited ? it.stat === 1 : true)) .slice(start, end) - this.total = this.list.length + this.total = (filter || waited ? this.list : this.#list).length } #pageChanged(ev) {