Merge pull request #3505 from dataease/pr@dev@refactor_panel-copy

refactor: 复制组件后将焦点定位到新视图
This commit is contained in:
fit2cloud-chenyw
2022-10-27 20:58:39 +08:00
committed by GitHub

View File

@@ -259,6 +259,7 @@ const data = {
} else {
state.componentData.push(component)
}
this.commit('setCurComponent', { component: component, index: index ? index : state.componentData.length - 1 })
},
removeViewFilter(state, componentId) {
state.componentData = state.componentData.map(item => {