diff --git a/web/src/materials/questions/components/Options/OptionEditBar.vue b/web/src/materials/questions/components/Options/OptionEditBar.vue index 3e2464e1..51011687 100644 --- a/web/src/materials/questions/components/Options/OptionEditBar.vue +++ b/web/src/materials/questions/components/Options/OptionEditBar.vue @@ -28,7 +28,7 @@ export default defineComponent({ setup(props, { emit }) { const moduleConfig = inject('moduleConfig'); const optionConfigVisible = ref(false); - + const addOther = () => { emit('addOther'); }; diff --git a/web/src/materials/questions/widgets/EditOptions.jsx b/web/src/materials/questions/widgets/EditOptions.jsx index 9bc39c08..0100d1f1 100644 --- a/web/src/materials/questions/widgets/EditOptions.jsx +++ b/web/src/materials/questions/widgets/EditOptions.jsx @@ -14,7 +14,7 @@ export default defineComponent({ provide() { return { currentEditKey: store.getters['edit/currentEditKey'], - moduleConfig: this.moduleConfig, + moduleConfig: computed(()=>this.moduleConfig), }; }, props: {