diff --git a/cateditor/src/pages/editor/store/index.js b/cateditor/src/pages/editor/store/index.js index 49a88d5..ad85cdc 100644 --- a/cateditor/src/pages/editor/store/index.js +++ b/cateditor/src/pages/editor/store/index.js @@ -179,10 +179,13 @@ export const store = new Vuex.Store({ selectSection(state, id) { state.selectedSectionID = id + state.selectedModelID = null + state.selectedMaterialID = null }, selectModel(state, id) { state.selectedModelID = id + state.selectedMaterialID = null }, selectMaterial(state, id) {