diff --git a/doc.config.js b/doc.config.js
index cdea4a15..7dffbf1e 100644
--- a/doc.config.js
+++ b/doc.config.js
@@ -75,16 +75,17 @@ module.exports = {
base: 'interactive',
label: '交互',
include: {
- toast: require('./packages/toast/README.md'),
- popup: require('./packages/popup/README.md'),
+ actionsheet: require('./packages/actionsheet/README.md'),
+ datetime_picker: require('./packages/datetime-picker/README.md'),
dialog: require('./packages/dialog/README.md'),
- toptips: require('./packages/toptips/README.md'),
+ popup: require('./packages/popup/README.md'),
tab: require('./packages/tab/README.md'),
- loadmore: require('./packages/loadmore/README.md'),
- actionsheet: require('./packages/actionsheet/README.md')
+ toast: require('./packages/toast/README.md'),
+ toptips: require('./packages/toptips/README.md'),
+ loadmore: require('./packages/loadmore/README.md')
}
}
],
- include: { 'datetime-picker': require('./packages/datetime-picker/README.md') }
+ include: {}
}
}
\ No newline at end of file
diff --git a/package.json b/package.json
index 37cce72f..f0c85d46 100644
--- a/package.json
+++ b/package.json
@@ -49,6 +49,6 @@
"postcss-easy-import": "^3.0.0",
"precss": "^2.0.0",
"shelljs": "^0.7.8",
- "wedoc": "0.0.13"
+ "wedoc": "0.0.16"
}
}
diff --git a/packages/datetime-picker/README.md b/packages/datetime-picker/README.md
index 7fe06f9e..2e72726f 100644
--- a/packages/datetime-picker/README.md
+++ b/packages/datetime-picker/README.md
@@ -1,7 +1,27 @@
-## datetime-picker
+## DatetimePicker 时间选择
使用 picker 组件开发的时间日期组件,弥补小程序 picker 自身对于快速时间选择的不支持
+### 示例代码
+
+```json
+{
+ "usingComponents": {
+ "zan-date-picker": "../../dist/datetime-picker/index"
+ }
+}
+```
+
+```wxml
+
+```
+
### 属性与事件
| 名称 | 类型 | 是否必须 | 默认 | 描述 |
@@ -22,25 +42,6 @@
| ------------ | ---- | ---- |
| getFormatStr | 无 | 返回 `format` 格式的字符串,在 `picker-view` 为 true 时比较实用 |
-### 示例代码
-
-```json
-{
- "usingComponents": {
- "zan-date-picker": "../../dist/datetime-picker/index"
- }
-}
-```
-
-```wxml
-
-```
-
### 增强优化
* 支持可选择时间区域限制
diff --git a/yarn.lock b/yarn.lock
index a17da0a2..a58423e4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -9154,9 +9154,9 @@ websocket-extensions@>=0.1.1:
version "0.1.3"
resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29"
-wedoc@0.0.13:
- version "0.0.13"
- resolved "https://registry.yarnpkg.com/wedoc/-/wedoc-0.0.13.tgz#1c0824328880541b1e99805e4996e773707c1c4c"
+wedoc@0.0.16:
+ version "0.0.16"
+ resolved "https://registry.yarnpkg.com/wedoc/-/wedoc-0.0.16.tgz#9fae70f4a3e34d207bd9774506e3bba350f719cb"
dependencies:
autoprefixer "^7.1.2"
babel-core "^6.22.1"