🎨 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

@ -31,7 +31,7 @@ function hide() {
update({
percent: 0
});
}, 200)
}, 200);
}, 800);
}
@ -109,4 +109,4 @@ export default {
loadingBarInstance = null;
instance.destroy();
}
}
};

View file

@ -36,7 +36,7 @@ LoadingBar.newInstance = properties => {
destroy () {
document.body.removeChild(div);
}
}
};
};
export default LoadingBar;

View file

@ -49,12 +49,12 @@
[`${prefixCls}-inner-color-primary`]: this.color === 'primary' && this.status === 'success',
[`${prefixCls}-inner-failed-color-error`]: this.failedColor === 'error' && this.status === 'error'
}
]
];
},
outerStyles () {
return {
height: `${this.height}px`
}
};
},
styles () {
let style = {
@ -73,5 +73,5 @@
return style;
}
}
}
</script>
};
</script>