refactor: 复制组件后将焦点定位到新视图
This commit is contained in:
parent
9ceb017d2a
commit
05c220c5d3
@ -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 => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user