Commit 5baaa58581f22a915cda9fa39e4cb9f094254d3b

Authored by 无木
1 parent f707541d

fix(modal): fixed `fullscreen` not worked

修复全屏功能异常的问题

fixed: #918
src/components/Modal/src/BasicModal.vue
... ... @@ -133,7 +133,12 @@
133 133 });
134 134  
135 135 const getBindValue = computed((): Recordable => {
136   - const attr = { ...attrs, ...unref(getMergeProps), visible: unref(visibleRef) };
  136 + const attr = {
  137 + ...attrs,
  138 + ...unref(getMergeProps),
  139 + visible: unref(visibleRef),
  140 + wrapClassName: unref(getWrapClassName),
  141 + };
137 142 if (unref(fullScreenRef)) {
138 143 return omit(attr, 'height');
139 144 }
... ...