From d6cdb7ee2611ac31475e3e3413182e819b579acd Mon Sep 17 00:00:00 2001 From: gaoyunqi Date: Thu, 25 Apr 2024 10:17:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9F=90=E4=BA=9B?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=8D=95=E9=80=89=E6=A1=86=E5=8F=AA=E8=AF=BB?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=B8=8D=E5=AF=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Form/src/components/ApiRadioGroup.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Form/src/components/ApiRadioGroup.vue b/src/components/Form/src/components/ApiRadioGroup.vue index bcc8059..b9174b8 100644 --- a/src/components/Form/src/components/ApiRadioGroup.vue +++ b/src/components/Form/src/components/ApiRadioGroup.vue @@ -81,7 +81,9 @@ const isCamelCase = inject('isCamelCase', false); // Embedded in the form, just use the hook binding to perform form verification const checked = ref(''); - const disabled = attrs.value.disabled; + const disabled = computed(()=>{ + return attrs.value.disabled + }); // Processing options value const getOptions = computed(() => { const { labelField, valueField, numberToString } = props;