From 66aa2906e0c4fa613e55e2cb57637a40b37cdb7e Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 28 Aug 2022 11:01:49 +0800 Subject: [PATCH] docs(DatePicker): fix basic usage --- packages/vant/src/date-picker/README.md | 7 ++++++- packages/vant/src/date-picker/README.zh-CN.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/date-picker/README.md b/packages/vant/src/date-picker/README.md index a202126c7..ab59f5950 100644 --- a/packages/vant/src/date-picker/README.md +++ b/packages/vant/src/date-picker/README.md @@ -21,7 +21,12 @@ app.use(DatePicker); ### Basic Usage ```html - + ``` ```js diff --git a/packages/vant/src/date-picker/README.zh-CN.md b/packages/vant/src/date-picker/README.zh-CN.md index 6d338ba15..0ca0911ab 100644 --- a/packages/vant/src/date-picker/README.zh-CN.md +++ b/packages/vant/src/date-picker/README.zh-CN.md @@ -23,7 +23,12 @@ app.use(DatePicker); 通过 `v-model` 绑定当前选中的日期,通过 `min-date` 和 `max-date` 属性来设定可选的时间范围。 ```html - + ``` ```js