From 3814d5f7d53d9fbca470e9d27d8e1274ed25deb0 Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 19 Jul 2019 17:53:04 +0800 Subject: [PATCH] [Doc] DatetimePicker: fix event value (#1784) --- packages/datetime-picker/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/datetime-picker/README.md b/packages/datetime-picker/README.md index 2c3c781e..d14e6eb0 100644 --- a/packages/datetime-picker/README.md +++ b/packages/datetime-picker/README.md @@ -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 }); } });