This commit is contained in:
cookfront 2017-03-27 17:07:24 +08:00
parent ce12744207
commit e2995f1d36
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@
export default { export default {
name: 'zan-swipe-item', name: 'zan-swipe-item',
beforeCreate() { beforeCreate() {
this.$parent.swipes.push(this); this.$parent.swipes.push(this);
} }

View File

@ -32,7 +32,7 @@ export default {
return { return {
currIndex: 0, currIndex: 0,
swipes: [] swipes: []
} };
}, },
mounted() { mounted() {