diff --git a/cateditor/src/pages/editor/store/index.js b/cateditor/src/pages/editor/store/index.js index dcc046e..fbb82dd 100644 --- a/cateditor/src/pages/editor/store/index.js +++ b/cateditor/src/pages/editor/store/index.js @@ -363,7 +363,7 @@ export const store = new Vuex.Store({ // see if we match a section, add a new model at the end let title = sectionTitle(material) for (let section of state.catalog.sections) { - if (title === section.name) { + if (title.toLowerCase() === section.name.toLowerCase()) { let newModel = extendModelFromMaterial(material) let models = getters.sectionModels(section) models.push(newModel)