From ac214a8b5243596cdc8a297aa4b65860ae4a616c Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 5 Aug 2024 10:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=B1=E6=99=A8=EF=BC=9A=E5=9C=A8=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E6=94=B6=E8=B4=A7=E7=94=B3=E8=AF=B7=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=EF=BC=8C=E8=BF=9B=E8=A1=8C=E6=96=B0=E5=A2=9E=E5=8D=95=E6=8D=AE?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E5=A6=82=E5=AD=98=E5=9C=A8=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E6=97=B6=EF=BC=8C=E4=B8=8B=E6=96=B9=E2=80=9C?= =?UTF-8?q?=E6=BB=91=E6=9D=86=E2=80=9D=E4=B8=8D=E6=98=BE=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E5=8F=8D=E5=A4=8D=E6=BB=91=E5=8A=A8=E6=BB=9A?= =?UTF-8?q?=E8=BD=AE=E8=BF=9B=E8=A1=8C=E6=9F=A5=E7=9C=8B=E8=A1=A8=E5=A4=B4?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 12 ++++++--- src/components/TableForm/src/TableForm.vue | 15 ++++++++--- src/directives/permission/clientTable.ts | 31 ++++++++++++++++++++++ 3 files changed, 51 insertions(+), 7 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 943891d72..57b8ee523 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -7,7 +7,7 @@ :vLoading="formLoading" @updateFullscreen="updateFullscreen" > -
+
{ - formHeight.value = isFullscreen ? 'auto' : '60vh' + formHeight.value.height = isFullscreen ? 'auto' : '60vh' + nextTick(()=>{ + tableFormRef.value.reloadFullscreen(isFullscreen) + }) } const dialogVisible = ref(false) // 弹窗的是否展示 diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue index c839d2937..57cabc4f5 100644 --- a/src/components/TableForm/src/TableForm.vue +++ b/src/components/TableForm/src/TableForm.vue @@ -1,12 +1,15 @@