|
@@ -97,6 +97,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
saveTimeLineFunc(state, '删除组件')
|
|
|
+
|
|
|
+ state.activeItemConfig = null
|
|
|
+ state.activeCode = null
|
|
|
},
|
|
|
changePageConfig (state, pageConfig) {
|
|
|
Vue.set(state.pageInfo, 'pageConfig', _.cloneDeep(pageConfig))
|
|
@@ -108,7 +111,7 @@ export default {
|
|
|
|
|
|
},
|
|
|
|
|
|
- changeActiveItemWH(state, chart) {
|
|
|
+ changeActiveItemWH (state, chart) {
|
|
|
if (chart.code === state.activeItemConfig.code) {
|
|
|
state.activeItemConfig = {
|
|
|
...state.activeItemConfig,
|