diff --git a/web/src/management/pages/edit/components/MaterialGroup.vue b/web/src/management/pages/edit/components/MaterialGroup.vue index 37f65439..cdf0d9e9 100644 --- a/web/src/management/pages/edit/components/MaterialGroup.vue +++ b/web/src/management/pages/edit/components/MaterialGroup.vue @@ -63,15 +63,14 @@ export default defineComponent({ setup(props, { emit }) { const store = useStore() const renderData = computed({ - get () { + get() { return filterQuestionPreviewData(props.questionDataList) }, - set (questionDataList) { + set(questionDataList) { store.commit('edit/setQuestionDataList', questionDataList) } }) const handleSelect = (index) => { - console.log('materialGroup-handleSelect', index) emit('select', index) } const handleChange = (data) => { diff --git a/web/src/management/pages/edit/components/QuestionWrapper.vue b/web/src/management/pages/edit/components/QuestionWrapper.vue index 763200f4..0ab1355d 100644 --- a/web/src/management/pages/edit/components/QuestionWrapper.vue +++ b/web/src/management/pages/edit/components/QuestionWrapper.vue @@ -6,7 +6,7 @@ @click="clickFormItem" >