From 3ef5e75cba4d42bf893ddd3af4bd3eed59f870da Mon Sep 17 00:00:00 2001 From: chaorenluo <1243357953@qq.com> Date: Thu, 29 Feb 2024 16:09:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E8=AF=84=E5=88=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=AB=98=E7=BA=A7=E8=AE=BE=E7=BD=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=BC=82=E5=B8=B8=20(#63)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix:修复评分组件高级设置显示异常 --------- Co-authored-by: ljm --- .../materials/questions/components/Options/OptionEditBar.vue | 2 +- web/src/materials/questions/widgets/EditOptions.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: {