Explorar o código

fix(modal): fixed `fullscreen` not worked

修复全屏功能异常的问题

fixed: #918
无木 %!s(int64=3) %!d(string=hai) anos
pai
achega
5baaa58581
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      src/components/Modal/src/BasicModal.vue

+ 6 - 1
src/components/Modal/src/BasicModal.vue

@@ -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');
         }