Netfan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
src/components/Modal/src/BasicModal.vue
|
|
|
@ -122,12 +122,14 @@ |
|
|
|
wrapClassName: toRef(getMergeProps.value, 'wrapClassName'), |
|
|
|
}); |
|
|
|
|
|
|
|
// modal component does not need title |
|
|
|
// modal component does not need title and origin buttons |
|
|
|
const getProps = computed( |
|
|
|
(): ModalProps => { |
|
|
|
const opt = { |
|
|
|
...unref(getMergeProps), |
|
|
|
visible: unref(visibleRef), |
|
|
|
okButtonProps: undefined, |
|
|
|
cancelButtonProps: undefined, |
|
|
|
title: undefined, |
|
|
|
}; |
|
|
|
return { |
|
|
|
|