[improvement] unify mixin name (#2795)

This commit is contained in:
neverland
2019-02-19 16:04:29 +08:00
committed by GitHub
parent 8c6ab91f6d
commit 9d0255d9e1
49 changed files with 112 additions and 122 deletions

View File

@@ -1,6 +1,6 @@
import { use, range } from '../utils';
import Popup from '../mixins/popup';
import Touch from '../mixins/touch';
import { PopupMixin } from '../mixins/popup';
import { TouchMixin } from '../mixins/touch';
import Swipe from '../swipe';
import SwipeItem from '../swipe-item';
@@ -15,7 +15,7 @@ function getDistance(touches) {
}
export default sfc({
mixins: [Popup, Touch],
mixins: [PopupMixin, TouchMixin],
props: {
images: Array,