improve error handling logic
This commit is contained in:
parent
12f8269f01
commit
2af088969a
3 changed files with 11 additions and 5 deletions
|
@ -302,9 +302,9 @@ const Status = {
|
|||
},
|
||||
showError (error) {
|
||||
this.error = error
|
||||
setTimeout(() => {
|
||||
this.error = null
|
||||
}, 5000)
|
||||
},
|
||||
clearError () {
|
||||
this.error = undefined
|
||||
},
|
||||
linkClicked (event) {
|
||||
let { target } = event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue