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"