mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 03:11:15 +00:00
feat(Popup): add close-on-popstate prop (#4845)
This commit is contained in:
@@ -3,7 +3,6 @@ import { range } from '../utils/format/number';
|
||||
import { preventDefault } from '../utils/dom/event';
|
||||
import { PopupMixin } from '../mixins/popup';
|
||||
import { TouchMixin } from '../mixins/touch';
|
||||
import { CloseOnPopstateMixin } from '../mixins/close-on-popstate';
|
||||
import Image from '../image';
|
||||
import Loading from '../loading';
|
||||
import Swipe from '../swipe';
|
||||
@@ -19,7 +18,7 @@ function getDistance(touches) {
|
||||
}
|
||||
|
||||
export default createComponent({
|
||||
mixins: [PopupMixin, TouchMixin, CloseOnPopstateMixin],
|
||||
mixins: [PopupMixin, TouchMixin],
|
||||
|
||||
props: {
|
||||
className: null,
|
||||
|
Reference in New Issue
Block a user