From 880fffd651939dca903774979fea52c313090ccc Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Mon, 20 May 2024 14:36:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=85=B3=E8=81=94=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E8=AE=BE=E7=BD=AE=E9=9A=90=E8=97=8F=E6=97=B6options?= =?UTF-8?q?=E9=94=99=E4=B9=B1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/public/form/formItem.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/DesignForm/public/form/formItem.vue b/src/components/DesignForm/public/form/formItem.vue index 1f5991f6b..d56b9dd8e 100644 --- a/src/components/DesignForm/public/form/formItem.vue +++ b/src/components/DesignForm/public/form/formItem.vue @@ -69,6 +69,7 @@ const control = computed(() => { // return props.data }) const options = ref(props.data.options) +//console.log("FormItem*********************************************************"+JSON.stringify(props.data)) const changeEvent = inject(constControlChange, '') as any const updateModel = (val: any) => { let controlAttribute = "" @@ -552,7 +553,7 @@ const imgUploadApiUrl = import.meta.env.VITE_APP_BASE_API+"/api/upordown" {{ item.label }} @@ -566,7 +567,7 @@ const imgUploadApiUrl = import.meta.env.VITE_APP_BASE_API+"/api/upordown" :style="getFormItemInputStyle(configStyle,4)" > @@ -580,7 +581,7 @@ const imgUploadApiUrl = import.meta.env.VITE_APP_BASE_API+"/api/upordown" :data="data" :disabled="editDisabled" v-model="value" - :options="options" + :options="props.data.options" :remote-method="getAxiosOptions" :transformOption="transformOption" />