chore: prettier js codes

This commit is contained in:
陈嘉涵
2020-01-19 17:02:01 +08:00
parent 2adcfd8b8b
commit 1e864a445f
28 changed files with 333 additions and 174 deletions
+8 -2
View File
@@ -182,7 +182,10 @@ export default createComponent({
const CouponTab = (
<Tab title={title}>
<div class={bem('list', { 'with-bottom': this.showCloseButton })} style={this.listStyle}>
<div
class={bem('list', { 'with-bottom': this.showCloseButton })}
style={this.listStyle}
>
{coupons.map((coupon, index) => (
<Coupon
ref="card"
@@ -200,7 +203,10 @@ export default createComponent({
const DisabledCouponTab = (
<Tab title={disabledTitle}>
<div class={bem('list', { 'with-bottom': this.showCloseButton })} style={this.listStyle}>
<div
class={bem('list', { 'with-bottom': this.showCloseButton })}
style={this.listStyle}
>
{disabledCoupons.map(coupon => (
<Coupon
disabled