forked from github/dataease
feat:创建分组或者仪表板时,点击取消按钮,不发出目录树的请求
This commit is contained in:
parent
b11db93328
commit
39d5ea5aa5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user