feat:创建分组或者仪表板时,点击取消按钮,不发出目录树的请求

This commit is contained in:
wangjiahao 2021-07-14 10:53:47 +08:00
parent b11db93328
commit 39d5ea5aa5

View File

@ -293,6 +293,7 @@ export default {
methods: {
closeEditPanelDialog(panelInfo) {
this.editPanel.visible = false
if (panelInfo) {
this.defaultTree()
//
if (panelInfo && panelInfo.panelType === 'self' && this.lastActiveNodeData.id) {
@ -309,6 +310,7 @@ export default {
} else {
this.tree(this.groupForm)
}
}
},
showEditPanel(param) {
this.lastActiveNode = param.node