mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
docs: fix some mistakes (#8208)
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user