changed cancel() to be called before handle error
This commit is contained in:
parent
b35c0ff314
commit
fc6aee8373
8 changed files with 34 additions and 34 deletions
|
|
@ -108,8 +108,8 @@
|
|||
cancel()
|
||||
})
|
||||
.catch(e => {
|
||||
this.handleError(e)
|
||||
cancel()
|
||||
cancel()
|
||||
this.handleError(e)
|
||||
})
|
||||
},
|
||||
submit() {
|
||||
|
|
@ -128,8 +128,8 @@
|
|||
cancel()
|
||||
})
|
||||
.catch(e => {
|
||||
this.handleError(e)
|
||||
cancel()
|
||||
cancel()
|
||||
this.handleError(e)
|
||||
})
|
||||
},
|
||||
deleteNamespace() {
|
||||
|
|
@ -141,8 +141,8 @@
|
|||
router.push({name: 'home'})
|
||||
})
|
||||
.catch(e => {
|
||||
this.handleError(e)
|
||||
cancel()
|
||||
cancel()
|
||||
this.handleError(e)
|
||||
})
|
||||
},
|
||||
handleError(e) {
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@
|
|||
cancel()
|
||||
})
|
||||
.catch(e => {
|
||||
this.handleError(e)
|
||||
cancel()
|
||||
cancel()
|
||||
this.handleError(e)
|
||||
})
|
||||
},
|
||||
handleError(e) {
|
||||
|
|
|
|||
Reference in a new issue