diff --git a/src/notice-bar/README.md b/src/notice-bar/README.md index 7746de8f0..591785d20 100644 --- a/src/notice-bar/README.md +++ b/src/notice-bar/README.md @@ -88,7 +88,7 @@ Vue.use(NoticeBar); | background | Background color | _string_ | `#fff7cc` | | left-icon | Left Icon | _string_ | - | | delay | Animation delay (s) | _number \| string_ | `1` | -| speed | Scroll speed (px/s) | _number \| string_ | `50` | +| speed | Scroll speed (px/s) | _number \| string_ | `60` | | scrollable | Whether to scroll content | _boolean_ | - | | wrapable | Whether to enable text wrap | _boolean_ | `false` | - | diff --git a/src/notice-bar/README.zh-CN.md b/src/notice-bar/README.zh-CN.md index a761ba477..586e1f205 100644 --- a/src/notice-bar/README.zh-CN.md +++ b/src/notice-bar/README.zh-CN.md @@ -113,7 +113,7 @@ Vue.use(NoticeBar); | background | 滚动条背景 | _string_ | `#fff7cc` | | left-icon | 左侧[图标名称](#/zh-CN/icon)或图片链接 | _string_ | - | | delay | 动画延迟时间 (s) | _number \| string_ | `1` | -| speed | 滚动速率 (px/s) | _number \| string_ | `50` | +| speed | 滚动速率 (px/s) | _number \| string_ | `60` | | scrollable | 是否开启滚动播放,内容长度溢出时默认开启 | _boolean_ | - | | wrapable | 是否开启文本换行,只在禁用滚动时生效 | _boolean_ | `false` | diff --git a/src/notice-bar/index.js b/src/notice-bar/index.js index e074f1239..43454c9c9 100644 --- a/src/notice-bar/index.js +++ b/src/notice-bar/index.js @@ -31,7 +31,7 @@ export default createComponent({ }, speed: { type: [Number, String], - default: 50, + default: 60, }, }, diff --git a/src/notice-bar/test/__snapshots__/index.spec.js.snap b/src/notice-bar/test/__snapshots__/index.spec.js.snap index 97f9e8e95..d1edc4b48 100644 --- a/src/notice-bar/test/__snapshots__/index.spec.js.snap +++ b/src/notice-bar/test/__snapshots__/index.spec.js.snap @@ -19,7 +19,7 @@ exports[`should not scroll when content width > wrap width 1`] = ` exports[`should scroll when content width > wrap width 1`] = ` `;