chore: remove object spead (#8514)

This commit is contained in:
neverland
2021-04-12 20:57:24 +08:00
committed by GitHub
parent 0b764b6347
commit 9deca34d1d
41 changed files with 204 additions and 241 deletions
+3 -4
View File
@@ -14,7 +14,7 @@ import {
// Utils
import { popupSharedProps } from './shared';
import { createNamespace, isDef } from '../utils';
import { createNamespace, extend, isDef } from '../utils';
// Composables
import { useEventListener } from '@vant/use';
@@ -43,8 +43,7 @@ export default defineComponent({
inheritAttrs: false,
props: {
...popupSharedProps,
props: extend({}, popupSharedProps, {
round: Boolean,
closeable: Boolean,
transition: String,
@@ -62,7 +61,7 @@ export default defineComponent({
type: String as PropType<PopupCloseIconPosition>,
default: 'top-right',
},
},
}),
emits: [
'open',