This commit is contained in:
parent
43e4c21950
commit
a579b8456a
|
|
@ -122,12 +122,14 @@
|
||||||
wrapClassName: toRef(getMergeProps.value, 'wrapClassName'),
|
wrapClassName: toRef(getMergeProps.value, 'wrapClassName'),
|
||||||
});
|
});
|
||||||
|
|
||||||
// modal component does not need title
|
// modal component does not need title and origin buttons
|
||||||
const getProps = computed(
|
const getProps = computed(
|
||||||
(): ModalProps => {
|
(): ModalProps => {
|
||||||
const opt = {
|
const opt = {
|
||||||
...unref(getMergeProps),
|
...unref(getMergeProps),
|
||||||
visible: unref(visibleRef),
|
visible: unref(visibleRef),
|
||||||
|
okButtonProps: undefined,
|
||||||
|
cancelButtonProps: undefined,
|
||||||
title: undefined,
|
title: undefined,
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue