🎨 add eslint

This commit is contained in:
jingsam 2016-12-25 22:49:42 +08:00
parent 829a2e4cfc
commit b0893113b3
88 changed files with 376 additions and 370 deletions

View file

@ -28,7 +28,7 @@
data () {
return {
backTop: false
}
};
},
ready () {
window.addEventListener('scroll', this.handleScroll, false);
@ -45,13 +45,13 @@
{
[`${prefixCls}-show`]: this.backTop
}
]
];
},
styles () {
return {
bottom: `${this.bottom}px`,
right: `${this.right}px`
}
};
},
innerClasses () {
return `${prefixCls}-inner`;
@ -66,5 +66,5 @@
this.$emit('on-click');
}
}
}
};
</script>