[fix]修复Tree右键删除2条提示的问题

This commit is contained in:
OrangeM21
2020-06-16 14:32:16 +08:00
parent 5512ce6b5c
commit 98991af6ef

View File

@@ -119,8 +119,8 @@ export default {
).then(() => {
this.$message.success(this.$t('common.deleteSuccessMsg'))
this.zTree.removeNode(currentNode)
}).catch(error => {
this.$message.error(this.$t('common.deleteErrorMsg' + ' ' + error))
}).catch(() => {
// this.$message.error(this.$t('common.deleteErrorMsg' + ' ' + error))
})
},
onRename: function(event, treeId, treeNode, isCancel) {