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

View File

@@ -1,12 +1,11 @@
import { createNamespace } from '../utils';
import { popupMixinProps } from '../mixins/popup';
import Popup from '../popup';
import Popup, { popupSharedProps } from '../popup';
const [createComponent, bem] = createNamespace('notify');
export default createComponent({
props: {
...popupMixinProps,
...popupSharedProps,
color: String,
message: [Number, String],
duration: [Number, String],