From 65dcc567534d971a17f55e32a4be18f357ebcd94 Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 30 Sep 2019 11:48:32 +0800 Subject: [PATCH] docs: update desc of replace prop (#4639) --- src/button/README.zh-CN.md | 2 +- src/cell/README.zh-CN.md | 2 +- src/goods-action/README.zh-CN.md | 4 ++-- src/grid/README.zh-CN.md | 2 +- src/sidebar/README.zh-CN.md | 2 +- src/slider/README.md | 4 ++-- src/slider/README.zh-CN.md | 2 +- src/tab/README.zh-CN.md | 2 +- src/tabbar/README.zh-CN.md | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/button/README.zh-CN.md b/src/button/README.zh-CN.md index 96d250c24..c5218e930 100644 --- a/src/button/README.zh-CN.md +++ b/src/button/README.zh-CN.md @@ -134,7 +134,7 @@ Vue.use(Button); | loading-size | 加载图标大小 | *string* | `20px` | - | | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - | ### Events diff --git a/src/cell/README.zh-CN.md b/src/cell/README.zh-CN.md index 685f7f9e4..66c0bfdde 100644 --- a/src/cell/README.zh-CN.md +++ b/src/cell/README.zh-CN.md @@ -123,7 +123,7 @@ Vue.use(Cell).use(CellGroup); | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - | | border | 是否显示内边框 | *boolean* | `true` | - | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - | | clickable | 是否开启点击反馈 | *boolean* | `false` | - | | is-link | 是否展示右侧箭头并开启点击反馈 | *boolean* | `false` | - | | required | 是否显示表单必填星号 | *boolean* | `false` | - | diff --git a/src/goods-action/README.zh-CN.md b/src/goods-action/README.zh-CN.md index c7053fad2..165b6bb54 100644 --- a/src/goods-action/README.zh-CN.md +++ b/src/goods-action/README.zh-CN.md @@ -87,7 +87,7 @@ export default { | info | 图标右上角徽标的内容 | *string \| number* | - | - | | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - | ### GoodsActionButton Props @@ -100,7 +100,7 @@ export default { | loading | 是否显示为加载状态 | *boolean* | `false` | - | - | | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - | ### GoodsActionIcon Slots diff --git a/src/grid/README.zh-CN.md b/src/grid/README.zh-CN.md index f9065994f..eab1113dd 100644 --- a/src/grid/README.zh-CN.md +++ b/src/grid/README.zh-CN.md @@ -136,7 +136,7 @@ Vue.use(Grid).use(GridItem); | info | 图标右上角徽标的内容 | *string \| number* | - | 2.2.1 | | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - | ### GridItem Events diff --git a/src/sidebar/README.zh-CN.md b/src/sidebar/README.zh-CN.md index 27121dc80..db762a588 100644 --- a/src/sidebar/README.zh-CN.md +++ b/src/sidebar/README.zh-CN.md @@ -70,7 +70,7 @@ export default { | disabled | 是否禁用该项 | *boolean* | `false` | 2.2.0 | | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | 2.0.4 | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | 2.0.4 | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | 2.0.4 | ### SidebarItem Events diff --git a/src/slider/README.md b/src/slider/README.md index cec401015..2cc16923e 100644 --- a/src/slider/README.md +++ b/src/slider/README.md @@ -92,14 +92,14 @@ export default { | Attribute | Description | Type | Default | Version | |------|------|------|------|------| | value | Current value | *number* | `0` | - | -| disabled | Whether to disable slider | *boolean* | `false` | - | | max | Max value | *number* | `100` | - | | min | Min value | *number* | `0` | - | | step | Step size | *number* | `1` | - | | bar-height | Height of bar | *string \| number* | `2px` | - | | active-color | Active color of bar | *string* | `#1989fa` | - | | inactive-color | Inactive color of bar | *string* | `#e5e5e5` | - | -| vertical | Whether to display vertical | *boolean* | `false` | - | +| disabled | Whether to disable slider | *boolean* | `false` | - | +| vertical | Whether to display slider vertically | *boolean* | `false` | - | ### Events diff --git a/src/slider/README.zh-CN.md b/src/slider/README.zh-CN.md index 5d66b8eda..1b74b6032 100644 --- a/src/slider/README.zh-CN.md +++ b/src/slider/README.zh-CN.md @@ -94,13 +94,13 @@ Slider 垂直展示时,高度为 100% 父元素高度 | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| | value | 当前进度百分比 | *number* | `0` | - | -| disabled | 是否禁用滑块 | *boolean* | `false` | - | | max | 最大值 | *number* | `100` | - | | min | 最小值 | *number* | `0` | - | | step | 步长 | *number* | `1` | - | | bar-height | 进度条高度,默认单位为`px` | *string \| number* | `2px` | - | | active-color | 进度条激活态颜色 | *string* | `#1989fa` | - | | inactive-color | 进度条默认颜色 | *string* | `#e5e5e5` | - | +| disabled | 是否禁用滑块 | *boolean* | `false` | - | | vertical | 是否垂直展示 | *boolean* | `false` | - | ### Events diff --git a/src/tab/README.zh-CN.md b/src/tab/README.zh-CN.md index 0ea71f460..76a2bf74d 100644 --- a/src/tab/README.zh-CN.md +++ b/src/tab/README.zh-CN.md @@ -207,7 +207,7 @@ export default { | disabled | 是否禁用标签 | *boolean* | `false` | - | | url | 点击后跳转的链接地址 | *string* | - | 2.2.1 | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | 2.2.1 | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | 2.2.1 | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | 2.2.1 | ### Tabs Slots diff --git a/src/tabbar/README.zh-CN.md b/src/tabbar/README.zh-CN.md index c83197da8..16e295dd4 100644 --- a/src/tabbar/README.zh-CN.md +++ b/src/tabbar/README.zh-CN.md @@ -174,7 +174,7 @@ export default { | info | 图标右上角徽标的内容 | *string \| number* | - | - | | url | 点击后跳转的链接地址 | *string* | - | - | | to | 点击后跳转的目标路由对象,同 vue-router 的 [to 属性](https://router.vuejs.org/zh/api/#to) | *string \| object* | - | - | -| replace | 跳转时是否替换当前页面历史 | *boolean* | `false` | - | +| replace | 是否在跳转时替换当前页面历史 | *boolean* | `false` | - | ### TabbarItem Slots