docs: fix some mistakes (#8208)

This commit is contained in:
neverland
2021-02-24 16:09:57 +08:00
committed by GitHub
parent e819726991
commit 397af4f50a
10 changed files with 29 additions and 31 deletions

View File

@@ -66,7 +66,8 @@ export default {
const formatter = (type, val) => {
if (type === 'year') {
return `${val} Year`;
} else if (type === 'month') {
}
if (type === 'month') {
return `${val} Month`;
}
return val;
@@ -105,7 +106,8 @@ export default {
const formatter = (type, val) => {
if (type === 'month') {
return `${val} Month`;
} else if (type === 'day') {
}
if (type === 'day') {
return `${val} Day`;
}
return val;

View File

@@ -70,7 +70,8 @@ export default {
const formatter = (type, val) => {
if (type === 'year') {
return `${val}年`;
} else if (type === 'month') {
}
if (type === 'month') {
return `${val}月`;
}
return val;
@@ -111,7 +112,8 @@ export default {
const formatter = (type, val) => {
if (type === 'month') {
return `${val}月`;
} else if (type === 'day') {
}
if (type === 'day') {
return `${val}日`;
}
return val;