diff --git "a/DataRoom/F:\\LIUCHANGAN\\???/cover/bigScreen_SrRC86mpEf.png" "b/DataRoom/F:\\LIUCHANGAN\\???/cover/bigScreen_SrRC86mpEf.png" new file mode 100644 index 00000000..b9978689 Binary files /dev/null and "b/DataRoom/F:\\LIUCHANGAN\\???/cover/bigScreen_SrRC86mpEf.png" differ diff --git a/data-room-ui/packages/js/store/mutations.js b/data-room-ui/packages/js/store/mutations.js index 8618350d..311a1487 100644 --- a/data-room-ui/packages/js/store/mutations.js +++ b/data-room-ui/packages/js/store/mutations.js @@ -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 { // state.settingJson = _.cloneDeep(activeItem.settingConfig) || {} }, // 改变当前组件的xywh - changeActiveItemWH(state, chart) { + changeActiveItemWH (state, chart) { if (chart.code === state.activeItemConfig.code) { state.activeItemConfig = { ...state.activeItemConfig,