提交 5baaa585 作者: 无木

fix(modal): fixed `fullscreen` not worked

修复全屏功能异常的问题

fixed: #918
上级 f707541d
...@@ -133,7 +133,12 @@ ...@@ -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');
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论