chore: adjust popupSharedProps

This commit is contained in:
chenjiahan
2020-08-24 10:27:55 +08:00
parent 28f2fe340c
commit 00395f0146
4 changed files with 21 additions and 34 deletions
-10
View File
@@ -12,18 +12,12 @@ export default createComponent({
props: {
...popupSharedProps,
title: String,
duration: [Number, String],
teleport: [String, Object],
cancelText: String,
description: String,
options: {
type: Array,
default: () => [],
},
overlay: {
type: Boolean,
default: true,
},
closeOnPopstate: {
type: Boolean,
default: true,
@@ -32,10 +26,6 @@ export default createComponent({
type: Boolean,
default: true,
},
closeOnClickOverlay: {
type: Boolean,
default: true,
},
},
emits: ['cancel', 'select', 'update:show', 'click-overlay'],