From 83eb5c4e4884952a6fa8d4bfa8b94da6a842124a Mon Sep 17 00:00:00 2001 From: zhang_li Date: Mon, 23 Jun 2025 11:04:39 +0800 Subject: [PATCH] =?UTF-8?q?YT-2798=E8=A6=81=E8=B4=A7=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A1=AB=E5=86=99=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=9A=84=E6=97=B6=E5=80=99=E5=9B=9E=E8=BD=A6?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B9=8B=E5=90=8E=E4=BF=9D=E5=AD=98=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E7=A6=81=E6=AD=A2=E7=82=B9=E5=87=BB=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index ac097cae2..3934c0008 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -1189,6 +1189,13 @@ const onEnter = async (field, value, e) => { if (list.length != 0) { emit('onEnter', field, value, e) } + if (props.isShowFooterButtton && !props.footButttondata) { + Butttondata = [ + defaultButtons.formSaveBtn(null), // 保存 + defaultButtons.formCloseBtn(null) // 关闭 + ] + count.value++ + } } ) } else {