From 68a26826c70d4e91c1530386b70cf2154ba582ed Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Fri, 22 Mar 2024 14:27:28 +0800 Subject: [PATCH] =?UTF-8?q?vue3.4=E4=BB=A5=E4=B8=8A=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E8=A7=92=E8=89=B2=E6=8A=BD=E5=B1=89=E9=9A=90?= =?UTF-8?q?=E8=97=8Ffooter=E9=80=BB=E8=BE=91=E9=94=99=E8=AF=AF=EF=BC=88?= =?UTF-8?q?=E5=8E=BB=E6=8E=89toRow,=E5=90=A6=E8=80=85props=E5=8F=98?= =?UTF-8?q?=E5=8C=96=E4=B8=8D=E4=BC=9A=E8=A7=A6=E5=8F=91computed=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Drawer/src/BasicDrawer.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Drawer/src/BasicDrawer.vue b/src/components/Drawer/src/BasicDrawer.vue index cf57a1b..d29de51 100644 --- a/src/components/Drawer/src/BasicDrawer.vue +++ b/src/components/Drawer/src/BasicDrawer.vue @@ -59,9 +59,9 @@ instance && emit('register', drawerInstance, instance.uid); const getMergeProps = computed((): DrawerProps => { - // update-begin--author:liaozhiyang---date:20240306---for:【QQYUN-8389】vue3.4以上版本导致角色抽屉隐藏footer逻辑错误 - return { ...deepMerge(toRaw(props), unref(propsRef)) }; - // update-end--author:liaozhiyang---date:20240306---for:【QQYUN-8389】vue3.4以上版本导致角色抽屉隐藏footer逻辑错误 + // update-begin--author:liaozhiyang---date:20240320---for:【QQYUN-8389】vue3.4以上版本导致角色抽屉隐藏footer逻辑错误(去掉toRow,否者props变化不会触发computed) + return { ...deepMerge(props, unref(propsRef)) }; + // update-end--author:liaozhiyang---date:20240320---for:【QQYUN-8389】vue3.4以上版本导致角色抽屉隐藏footer逻辑错误(去掉toRow,否者props变化不会触发computed) }); const getProps = computed((): DrawerProps => {