refactor(Popup): remove popup mixin

This commit is contained in:
chenjiahan
2020-08-19 18:05:52 +08:00
parent b6b6e38c45
commit 1ad76a8aa3
7 changed files with 207 additions and 245 deletions
+2 -5
View File
@@ -1,11 +1,8 @@
// Utils
import { createNamespace, isDef } from '../utils';
// Mixins
import { popupMixinProps } from '../mixins/popup';
// Components
import Popup from '../popup';
import Popup, { popupSharedProps } from '../popup';
const PRESET_ICONS = ['qq', 'weibo', 'wechat', 'link', 'qrcode', 'poster'];
@@ -13,7 +10,7 @@ const [createComponent, bem, t] = createNamespace('share-sheet');
export default createComponent({
props: {
...popupMixinProps,
...popupSharedProps,
title: String,
duration: [Number, String],
cancelText: String,