mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
docs: 优化代码逻辑
This commit is contained in:
parent
d82b491d29
commit
2b657446ec
@ -70,7 +70,8 @@ Page({
|
||||
formatter(type, value) {
|
||||
if (type === 'year') {
|
||||
return `${value}年`;
|
||||
} else if (type === 'month') {
|
||||
}
|
||||
if (type === 'month') {
|
||||
return `${value}月`;
|
||||
}
|
||||
return value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user