vue3.4以上版本导致角色抽屉隐藏footer逻辑错误(去掉toRow,否者props变化不会触发computed)
parent
6de260014d
commit
68a26826c7
|
@ -59,9 +59,9 @@
|
||||||
instance && emit('register', drawerInstance, instance.uid);
|
instance && emit('register', drawerInstance, instance.uid);
|
||||||
|
|
||||||
const getMergeProps = computed((): DrawerProps => {
|
const getMergeProps = computed((): DrawerProps => {
|
||||||
// update-begin--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(toRaw(props), unref(propsRef)) };
|
return { ...deepMerge(props, unref(propsRef)) };
|
||||||
// update-end--author:liaozhiyang---date:20240306---for:【QQYUN-8389】vue3.4以上版本导致角色抽屉隐藏footer逻辑错误
|
// update-end--author:liaozhiyang---date:20240320---for:【QQYUN-8389】vue3.4以上版本导致角色抽屉隐藏footer逻辑错误(去掉toRow,否者props变化不会触发computed)
|
||||||
});
|
});
|
||||||
|
|
||||||
const getProps = computed((): DrawerProps => {
|
const getProps = computed((): DrawerProps => {
|
||||||
|
|
Loading…
Reference in New Issue