|
@@ -22,6 +22,10 @@ const props = defineProps({
|
|
|
type: String,
|
|
|
default: '',
|
|
|
},
|
|
|
+ useCenterLayout: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false,
|
|
|
+ },
|
|
|
onPopupVisibleChange: Function,
|
|
|
popupTitle: {
|
|
|
type: String,
|
|
@@ -47,7 +51,7 @@ const props = defineProps({
|
|
|
})
|
|
|
|
|
|
const center = computed(() => {
|
|
|
- return props.staticInfo
|
|
|
+ return props.staticInfo || props.useCenterLayout
|
|
|
})
|
|
|
const contentTransitionName = computed(() => {
|
|
|
return center.value ? 'fade' : 'slide-up'
|