fix: namespace collision of global error method with draggable error method
This commit is contained in:
parent
0da7a46612
commit
ebeca48be4
57 changed files with 229 additions and 209 deletions
|
|
@ -234,7 +234,7 @@ export default {
|
|||
this.makeActions()
|
||||
})
|
||||
.catch((e) => {
|
||||
this.error(e)
|
||||
this.$message.error(e)
|
||||
})
|
||||
},
|
||||
addComment() {
|
||||
|
|
@ -256,11 +256,11 @@ export default {
|
|||
.then((r) => {
|
||||
this.comments.push(r)
|
||||
this.newComment.comment = ''
|
||||
this.success({message: this.$t('task.comment.addedSuccess')})
|
||||
this.$message.success({message: this.$t('task.comment.addedSuccess')})
|
||||
this.makeActions()
|
||||
})
|
||||
.catch((e) => {
|
||||
this.error(e)
|
||||
this.$message.error(e)
|
||||
})
|
||||
.finally(() => {
|
||||
this.creating = false
|
||||
|
|
@ -296,7 +296,7 @@ export default {
|
|||
}, 2000)
|
||||
})
|
||||
.catch((e) => {
|
||||
this.error(e)
|
||||
this.$message.error(e)
|
||||
})
|
||||
.finally(() => {
|
||||
this.isCommentEdit = false
|
||||
|
|
@ -314,7 +314,7 @@ export default {
|
|||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
this.error(e)
|
||||
this.$message.error(e)
|
||||
})
|
||||
.finally(() => {
|
||||
this.showDeleteModal = false
|
||||
|
|
|
|||
Reference in a new issue