@@ -583,8 +583,12 @@ export default {
cancelButtonText: '取消'
})
.then(() => {
- this.remove(node.data.id)
- _that.$refs.trees1.remove(node) //删除界面上的节点
+ this.remove(node.data.id).then(()=>{
+ _that.$refs.trees1.remove(node) //删除界面上的节点
+ }).catch(()=>{
+
+ })
.catch(() => {