mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[new feature] Dialog: add close-on-popstate prop (#3709)
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import { createNamespace } from '../utils';
|
||||
import { PopupMixin } from '../mixins/popup';
|
||||
import { CloseOnPopstateMixin } from '../mixins/close-on-popstate';
|
||||
import Button from '../button';
|
||||
|
||||
const [createComponent, bem, t] = createNamespace('dialog');
|
||||
|
||||
export default createComponent({
|
||||
mixins: [PopupMixin],
|
||||
mixins: [PopupMixin, CloseOnPopstateMixin],
|
||||
|
||||
props: {
|
||||
title: String,
|
||||
|
Reference in New Issue
Block a user