feat(Popup): add close-on-popstate prop (#4845)

This commit is contained in:
neverland
2019-10-26 15:31:45 +08:00
committed by GitHub
parent 44c9801811
commit 9033a968ec
5 changed files with 6 additions and 4 deletions

View File

@@ -1,13 +1,12 @@
import { createNamespace, addUnit } from '../utils';
import { BORDER_TOP, BORDER_LEFT } from '../utils/constant';
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, CloseOnPopstateMixin],
mixins: [PopupMixin],
props: {
title: String,