From 7f9a20c12dda481fe69c602ab7ac1bf731a1d022 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Fri, 12 Jul 2024 10:51:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8=E5=8D=95=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=96=B0=E5=A2=9E=E6=97=B6=E5=B1=95=E7=A4=BA=E6=89=80?= =?UTF-8?q?=E6=9C=89=E6=95=B0=E6=8D=AE=E6=A0=87=E9=A2=98=E4=BD=9C=E4=B8=BA?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../associatedforms/associatedForms.vue | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/src/widget/associatedforms/associatedForms.vue b/src/widget/associatedforms/associatedForms.vue index a7acd0a8d..9c664fa3b 100644 --- a/src/widget/associatedforms/associatedForms.vue +++ b/src/widget/associatedforms/associatedForms.vue @@ -37,33 +37,13 @@ const props = withDefaults( const value1 = ref('') -const options = [ - { - value: 'Option1', - label: 'Option1', - }, - { - value: 'Option2', - label: 'Option2', - }, - { - value: 'Option3', - label: 'Option3', - }, - { - value: 'Option4', - label: 'Option4', - }, - { - value: 'Option5', - label: 'Option5', - }, -] +const options = ref([]) onMounted(()=>{ console.log(props.data.control) if(props.data.control.formid!=null&&props.data.control.formid!=""){ getAsfDataTitles().then(({ data }) => { console.log(data) + options.value = data }); }