vue3.4以上版本导致角色抽屉隐藏footer逻辑错误(去掉toRow,否者props变化不会触发computed)

pull/1164/head
JEECG 2024-03-22 14:27:28 +08:00
parent 6de260014d
commit 68a26826c7
1 changed files with 3 additions and 3 deletions

View File

@ -59,9 +59,9 @@
instance && emit('register', drawerInstance, instance.uid);
const getMergeProps = computed((): DrawerProps => {
// update-begin--author:liaozhiyang---date:20240306---forQQYUN-8389vue3.4footer
return { ...deepMerge(toRaw(props), unref(propsRef)) };
// update-end--author:liaozhiyang---date:20240306---forQQYUN-8389vue3.4footer
// update-begin--author:liaozhiyang---date:20240320---forQQYUN-8389vue3.4footertoRow,propscomputed
return { ...deepMerge(props, unref(propsRef)) };
// update-end--author:liaozhiyang---date:20240320---forQQYUN-8389vue3.4footertoRow,propscomputed
});
const getProps = computed((): DrawerProps => {