From 2844d04a5eed30f2d0d182bd6c0cd8736b2790d1 Mon Sep 17 00:00:00 2001 From: cunzaizhuyi <877824709@qq.com> Date: Sat, 17 Jun 2023 09:31:47 +0800 Subject: [PATCH] docs(RollingText): update docs (#11988) --- packages/vant/src/rolling-text/README.md | 2 +- packages/vant/src/rolling-text/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/rolling-text/README.md b/packages/vant/src/rolling-text/README.md index ef07650f7..3c940ae0c 100644 --- a/packages/vant/src/rolling-text/README.md +++ b/packages/vant/src/rolling-text/README.md @@ -163,7 +163,7 @@ export default { | target-num | Target number | _number_ | - | | text-array | Text array | _Array_ | `[]` | | duration | Duration of the animation, in seconds | _number_ | `2` | -| direction | Rolling direction of the number, with `down` and `up` as the values | _string_ | `down` | +| direction | Rolling direction of the text, with `down` and `up` as the values | _string_ | `down` | | auto-start | Whether to start the animation | _boolean_ | `true` | | stop-order | Order of stopping the animation of each digit, with `ltr` and `rtl` as the values | _string_ | `ltr` | diff --git a/packages/vant/src/rolling-text/README.zh-CN.md b/packages/vant/src/rolling-text/README.zh-CN.md index 99ab60514..f381d454a 100644 --- a/packages/vant/src/rolling-text/README.zh-CN.md +++ b/packages/vant/src/rolling-text/README.zh-CN.md @@ -163,7 +163,7 @@ export default { | target-num | 目标数值 | _number_ | - | | text-array | 内容数组,翻转非数字内容,需要传此参数 | _Array_ | `[]` | | duration | 动画时长,单位为秒 | _number_ | `2` | -| direction | 数值翻滚方向,值为 `down` 和 `up` | _string_ | `down` | +| direction | 文本翻滚方向,值为 `down` 和 `up` | _string_ | `down` | | auto-start | 是否自动开始动画 | _boolean_ | `true` | | stop-order | 各个数位动画停止先后顺序,值为 `ltr` 和 `rtl` | _string_ | `ltr` |