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
@@ -121,7 +121,7 @@ export default createComponent({
const { value } = this;
const simple = this.mode !== 'multi';
const onSelect = value => () => {
const onSelect = (value) => () => {
this.select(value, true);
};
@@ -133,7 +133,7 @@ export default createComponent({
>
{this.prevText || t('prev')}
</li>
{this.pages.map(page => (
{this.pages.map((page) => (
<li
class={[bem('item', { active: page.active }), bem('page'), BORDER]}
onClick={onSelect(page.number)}