优化状态显示
parent
87217334f8
commit
2eb52dad39
|
@ -336,14 +336,14 @@ class Request extends Component {
|
|||
>通过</wc-link
|
||||
>`
|
||||
: ''}
|
||||
${this.$store.user.admin && it.stat !== 0
|
||||
${this.$store.user.admin && it.stat === 1
|
||||
? html`<wc-link
|
||||
@click=${_ => this.#handlePackgae('reject', it.id)}
|
||||
type="warning"
|
||||
>拒绝</wc-link
|
||||
>`
|
||||
: ''}
|
||||
${this.$store.user.admin && it.stat !== 0
|
||||
${this.$store.user.admin && (it.stat === 1 || it.stat === 2)
|
||||
? html`<wc-link
|
||||
@click=${_ => this.#handlePackgae('delete', it.id)}
|
||||
type="danger"
|
||||
|
|
Loading…
Reference in New Issue