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
@@ -181,7 +181,7 @@ export default createComponent({
</div>
);
const onChange = index => () => this.$emit('change', index);
const onChange = (index) => () => this.$emit('change', index);
const CouponTab = (
<Tab title={title}>
@@ -210,7 +210,7 @@ export default createComponent({
class={bem('list', { 'with-bottom': this.showCloseButton })}
style={this.listStyle}
>
{disabledCoupons.map(coupon => (
{disabledCoupons.map((coupon) => (
<Coupon
disabled
key={coupon.id}