fix kirby issue
This commit is contained in:
parent
604b3f0816
commit
fc21e4424b
1 changed files with 2 additions and 2 deletions
|
|
@ -104,8 +104,8 @@ const StatusActionButtons = {
|
|||
}
|
||||
},
|
||||
doActionReal(button) {
|
||||
button
|
||||
.action?.(this.funcArg)
|
||||
const promise = button.action?.(this.funcArg) ?? Promise.resolve()
|
||||
promise
|
||||
.then(() => this.$emit('onSuccess'))
|
||||
.catch((err) => this.$emit('onError', err))
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue