Scroll add height prop

This commit is contained in:
梁灏 2017-10-16 18:32:47 +08:00
parent 74624787ef
commit 6850c1da89
2 changed files with 6 additions and 1 deletions

View file

@ -93,7 +93,7 @@
const weekStartDay = Number(this.t('i.datepicker.weekStartDay'));
const translatedDays = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'].map(item => {
return this.t('i.datepicker.weeks.' + item);
})
});
const weekDays = translatedDays.splice(weekStartDay, 7 - weekStartDay).concat(translatedDays.splice(0, weekStartDay));
return weekDays;
},