chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ export default createComponent({
const { body, months } = this.$refs;
const top = getScrollTop(body);
const bottom = top + this.bodyHeight;
const heights = months.map(item => item.height);
const heights = months.map((item) => item.height);
const heightSum = heights.reduce((a, b) => a + b, 0);
// iOS scroll bounce may exceed the range
@@ -412,7 +412,7 @@ export default createComponent({
render() {
if (this.poppable) {
const createListener = name => () => this.$emit(name);
const createListener = (name) => () => this.$emit(name);
return (
<Popup