chore: prettier source code
This commit is contained in:
@@ -30,7 +30,7 @@ export default createComponent({
|
||||
|
||||
return (
|
||||
<div class={bem('weekdays')}>
|
||||
{weekdays.map(item => (
|
||||
{weekdays.map((item) => (
|
||||
<span class={bem('weekday')}>{item}</span>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -99,8 +99,8 @@ export default createComponent({
|
||||
},
|
||||
|
||||
getMultipleDayType(day) {
|
||||
const isSelected = date =>
|
||||
this.currentDate.some(item => compareDay(item, date) === 0);
|
||||
const isSelected = (date) =>
|
||||
this.currentDate.some((item) => compareDay(item, date) === 0);
|
||||
|
||||
if (isSelected(day)) {
|
||||
const prevDay = getPrevDay(day);
|
||||
|
||||
Reference in New Issue
Block a user