swipe add indicator

This commit is contained in:
cookfront
2017-03-27 17:06:30 +08:00
parent a991aea581
commit 03af3b3eba
5 changed files with 99 additions and 34 deletions
+6 -1
View File
@@ -6,6 +6,11 @@
<script>
export default {
name: 'zan-swipe-item'
name: 'zan-swipe-item',
beforeCreate() {
this.$parent.swipes.push(this);
}
};
</script>