From 2eb52dad39693eb2281b245a08ec54c4e55a9570 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 15 Nov 2023 18:57:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=8A=B6=E6=80=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/views/request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/views/request.js b/dist/views/request.js index ab20a1e..560b1a3 100644 --- a/dist/views/request.js +++ b/dist/views/request.js @@ -336,14 +336,14 @@ class Request extends Component { >ι€šθΏ‡` : ''} - ${this.$store.user.admin && it.stat !== 0 + ${this.$store.user.admin && it.stat === 1 ? html` this.#handlePackgae('reject', it.id)} type="warning" >拒绝` : ''} - ${this.$store.user.admin && it.stat !== 0 + ${this.$store.user.admin && (it.stat === 1 || it.stat === 2) ? html` this.#handlePackgae('delete', it.id)} type="danger"