fix(modal): fixed fullscreen not worked

修复全屏功能异常的问题

fixed: #918
This commit is contained in:
无木
2021-07-16 11:19:11 +08:00
parent f707541dda
commit 5baaa58581

View File

@@ -133,7 +133,12 @@
});
const getBindValue = computed((): Recordable => {
const attr = { ...attrs, ...unref(getMergeProps), visible: unref(visibleRef) };
const attr = {
...attrs,
...unref(getMergeProps),
visible: unref(visibleRef),
wrapClassName: unref(getWrapClassName),
};
if (unref(fullScreenRef)) {
return omit(attr, 'height');
}