From 74e1418ecaf155b84ab0fe10a3679e35e58d55d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Fri, 27 Oct 2023 08:49:20 +0800 Subject: [PATCH] =?UTF-8?q?form=E7=BB=84=E4=BB=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E5=9F=BA=E7=A1=80=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 691e9a39d..d2c794292 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -217,7 +217,7 @@ const formLoading = ref(false) // 表单的加载中:1)修改时的数据加 const formType = ref('') // 表单的类型:create - 新增;update - 修改 const formRef = ref() // 表单 Ref -const formSchema = ref(props.formAllSchemas.formSchema) +const formSchema = ref(props.formAllSchemas?.formSchema) /** 弹层操作 */ // formField form表单中的字段