Skip to content

Commit

Permalink
fix(modal): fixed fullscreen not worked
Browse files Browse the repository at this point in the history
修复全屏功能异常的问题

fixed: #918
  • Loading branch information
mynetfan committed Jul 16, 2021
1 parent f707541 commit 5baaa58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Modal/src/BasicModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 5baaa58

Please sign in to comment.