mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[Doc] DatetimePicker: fix event value (#1784)
This commit is contained in:
parent
cbaa83a416
commit
3814d5f7d5
@ -43,7 +43,7 @@ Page({
|
||||
|
||||
onInput(event) {
|
||||
this.setData({
|
||||
currentDate: event.detail.value
|
||||
currentDate: event.detail
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -80,7 +80,7 @@ Page({
|
||||
|
||||
onInput(event) {
|
||||
this.setData({
|
||||
currentDate: event.detail.value
|
||||
currentDate: event.detail
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -108,7 +108,7 @@ Page({
|
||||
|
||||
onInput(event) {
|
||||
this.setData({
|
||||
currentDate: event.detail.value
|
||||
currentDate: event.detail
|
||||
});
|
||||
}
|
||||
});
|
||||
@ -138,7 +138,7 @@ Page({
|
||||
|
||||
onInput(event) {
|
||||
this.setData({
|
||||
currentDate: event.detail.value
|
||||
currentDate: event.detail
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user