diff --git a/src/components/Modal/src/BasicModal.vue b/src/components/Modal/src/BasicModal.vue index 89bc8798c..959e6db62 100644 --- a/src/components/Modal/src/BasicModal.vue +++ b/src/components/Modal/src/BasicModal.vue @@ -139,8 +139,9 @@ ...attrs, ...unref(getMergeProps), visible: unref(visibleRef), - wrapClassName: unref(getWrapClassName), }; + attr['wrapClassName'] = `${attr?.['wrapClassName'] || ''} ${unref(getWrapClassName)}`; + if (unref(fullScreenRef)) { return omit(attr, ['height', 'title']); }