docs(Calendar): add enUS document

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 28f126e4ec
commit 87ecdf9425
4 changed files with 219 additions and 21 deletions
+2 -3
View File
@@ -29,7 +29,6 @@ Vue.use(Calendar);
export default {
data() {
return {
// 当前选中的日期
date: '',
show: false
};
@@ -136,10 +135,10 @@ export default {
export default {
methods: {
formatter(day) {
const month = day.date.getMonth();
const month = day.date.getMonth() + 1;
const date = day.date.getDate();
if (month === 4) {
if (month === 5) {
if (date === 1) {
day.topInfo = '劳动节';
} else if (date === 4) {