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
1 changed files with 6 additions and 1 deletions

View File

@ -133,7 +133,12 @@
}); });
const getBindValue = computed((): Recordable => { 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)) { if (unref(fullScreenRef)) {
return omit(attr, 'height'); return omit(attr, 'height');
} }