feat: ActionSheet、ShareSheet add before-close prop (#9068)

This commit is contained in:
neverland
2021-07-19 21:02:42 +08:00
committed by GitHub
parent eaa9bf3680
commit 29c63a905b
7 changed files with 9 additions and 4 deletions
+1 -2
View File
@@ -16,7 +16,7 @@ import {
// Utils
import { popupSharedProps } from './shared';
import { createNamespace, extend, isDef } from '../utils';
import { callInterceptor, Interceptor } from '../utils/interceptor';
import { callInterceptor } from '../utils/interceptor';
// Composables
import { useEventListener } from '@vant/use';
@@ -51,7 +51,6 @@ export default defineComponent({
closeable: Boolean,
transition: String,
iconPrefix: String,
beforeClose: Function as PropType<Interceptor>,
closeOnPopstate: Boolean,
safeAreaInsetBottom: Boolean,
position: {