Browse Source
fix: 解决BasicModal弹窗动态:wrapClassName属性被useFullScreen hooks覆盖的问题 (#2598)
pull/2601/head
前端爱码士
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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']); |
|
|
|
} |
|
|
|
|