diff --git a/src/action-sheet/README.zh-CN.md b/src/action-sheet/README.zh-CN.md index a8c722127..b4316d46d 100644 --- a/src/action-sheet/README.zh-CN.md +++ b/src/action-sheet/README.zh-CN.md @@ -106,7 +106,7 @@ export default { | overlay | 是否显示遮罩层 | `Boolean` | `true` | - | | close-on-click-action | 是否在点击选项后关闭 | `Boolean` | `false` | 2.0.0 | | close-on-click-overlay | 是否在点击遮罩层后关闭 | `Boolean` | `true` | - | -| lazy-render | 是否在显示弹层时才渲染节点 | `Boolean` | `true` | 1.1.11 | +| lazy-render | 是否在显示弹层时才渲染节点 | `Boolean` | `true` | - | | lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | 2.0.0 | | duration | 动画时长,单位秒 | `Number` | `0.3` | 2.0.3 | | get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | - | - | diff --git a/src/address-edit/README.zh-CN.md b/src/address-edit/README.zh-CN.md index 5ee7aac5a..088fc9fc5 100644 --- a/src/address-edit/README.zh-CN.md +++ b/src/address-edit/README.zh-CN.md @@ -65,7 +65,7 @@ export default { | address-info | 收货人信息初始值 | `Object` | `{}` | - | | search-result | 详细地址搜索结果 | `Array` | `[]` | - | | show-postal | 是否显示邮政编码 | `Boolean` | `false` | - | -| show-delete | 是否显示删除按钮 | `Boolean` | `false` | 1.0.0 | +| show-delete | 是否显示删除按钮 | `Boolean` | `false` | - | | show-set-default | 是否显示默认地址栏 | `Boolean` | `false` | - | | show-search-result | 是否显示搜索结果 | `Boolean` | `false` | - | | save-button-text | 保存按钮文字 | `String` | `保存` | - | @@ -73,7 +73,7 @@ export default { | is-saving | 是否显示保存按钮加载动画 | `Boolean` | `false` | - | | is-deleting | 是否显示删除按钮加载动画 | `Boolean` | `false` | - | | tel-validator | 手机号格式校验函数 | `string => boolean` | - | - | -| validator | 自定义校验函数 | `(key, value) => string` | - | 1.3.9 | +| validator | 自定义校验函数 | `(key, value) => string` | - | - | ### Events diff --git a/src/address-list/README.zh-CN.md b/src/address-list/README.zh-CN.md index 73b58215b..91ff41984 100644 --- a/src/address-list/README.zh-CN.md +++ b/src/address-list/README.zh-CN.md @@ -73,19 +73,19 @@ export default { | v-model | 当前选中地址的 id | `String` | - | - | | list | 地址列表 | `Array` | `[]` | - | | add-button-text | 底部按钮文字 | `String` | `新增地址` | - | -| disabled-list | 不可配送地址列表 | `Array` | `[]` | 1.3.0 | -| disabled-text | 不可配送提示文案 | `String` | - | 1.3.0 | -| switchable | 是否允许切换地址 | `Boolean` | `true` | 1.3.8 | +| disabled-list | 不可配送地址列表 | `Array` | `[]` | - | +| disabled-text | 不可配送提示文案 | `String` | - | - | +| switchable | 是否允许切换地址 | `Boolean` | `true` | - | ### Events -| 事件名 | 说明 | 回调参数 | 版本 | +| 事件名 | 说明 | 回调参数 | |------|------|------|------| -| add | 点击新增按钮时触发 | - | - | -| edit | 点击编辑按钮时触发 | item: 地址对象,index: 索引 | - | -| select | 切换选中的地址时触发 | item: 地址对象,index: 索引 | - | -| edit-disabled | 编辑不可配送的地址时触发 | item: 地址对象,index: 索引 | 1.3.0 | -| select-disabled | 选中不可配送的地址时触发 | item: 地址对象,index: 索引 | 1.3.0 | +| add | 点击新增按钮时触发 | - | +| edit | 点击编辑按钮时触发 | item: 地址对象,index: 索引 | +| select | 切换选中的地址时触发 | item: 地址对象,index: 索引 | +| edit-disabled | 编辑不可配送的地址时触发 | item: 地址对象,index: 索引 | +| select-disabled | 选中不可配送的地址时触发 | item: 地址对象,index: 索引 | ### 地址列表字段说明 diff --git a/src/card/README.zh-CN.md b/src/card/README.zh-CN.md index 8bcd25824..edbc8a311 100644 --- a/src/card/README.zh-CN.md +++ b/src/card/README.zh-CN.md @@ -69,13 +69,13 @@ Vue.use(Card); | thumb | 左侧图片 URL | `String` | - | - | | title | 标题 | `String` | - | - | | desc | 描述 | `String` | - | - | -| tag | 图片角标 | `String` | - | 1.3.4 | +| tag | 图片角标 | `String` | - | - | | num | 商品数量 | `String | Number` | - | - | | price | 商品价格 | `String | Number` | - | - | -| origin-price | 商品划线原价 | `String | Number` | - | 1.3.6 | +| origin-price | 商品划线原价 | `String | Number` | - | - | | centered | 内容是否垂直居中 | `Boolean` | `false` | - | | currency | 货币符号 | `String` | `¥` | - | -| thumb-link | 点击左侧图片后的跳转链接 | `String` | - | 1.3.4 | +| thumb-link | 点击左侧图片后的跳转链接 | `String` | - | - | | lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | `Boolean` | `false` | 1.5.0 | ### Events diff --git a/src/checkbox/README.zh-CN.md b/src/checkbox/README.zh-CN.md index d3fd61c49..ed47033fb 100644 --- a/src/checkbox/README.zh-CN.md +++ b/src/checkbox/README.zh-CN.md @@ -153,8 +153,8 @@ export default { | disabled | 是否禁用复选框 | `Boolean` | `false` | - | | icon-size | 图标大小,默认单位为`px` | `String | Number` | `20px` | 2.0.0 | | label-disabled | 是否禁用复选框文本点击 | `Boolean` | `false` | - | -| label-position | 文本位置,可选值为 `left` | `String` | `right` | 1.1.11 | -| checked-color | 选中状态颜色 | `String` | `#1989fa` | 1.4.3 | +| label-position | 文本位置,可选值为 `left` | `String` | `right` | - | +| checked-color | 选中状态颜色 | `String` | `#1989fa` | - | ### CheckboxGroup Props diff --git a/src/col/README.zh-CN.md b/src/col/README.zh-CN.md index bc442e3b5..b8d81db3c 100644 --- a/src/col/README.zh-CN.md +++ b/src/col/README.zh-CN.md @@ -95,11 +95,11 @@ Layout 组件提供了`24列栅格`,通过在`Col`上添加`span`属性设置 | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| -| type | 布局方式,可选值为`flex` | `String` | - | 1.1.9 | +| type | 布局方式,可选值为`flex` | `String` | - | - | | gutter | 列元素之间的间距(单位为px) | `String | Number` | - | - | | tag | 自定义元素标签 | `String` | `div` | - | -| justify | Flex 主轴对齐方式,可选值为 `end` `center`
`space-around` `space-between` | `String` | `start` | 1.1.9 | -| align | Flex 交叉轴对齐方式,可选值为 `center` `bottom` | `String` | `top` | 1.1.9 | +| justify | Flex 主轴对齐方式,可选值为 `end` `center`
`space-around` `space-between` | `String` | `start` | - | +| align | Flex 交叉轴对齐方式,可选值为 `center` `bottom` | `String` | `top` | - | ### Col Props diff --git a/src/collapse/README.zh-CN.md b/src/collapse/README.zh-CN.md index 2be29b018..5556e2a27 100644 --- a/src/collapse/README.zh-CN.md +++ b/src/collapse/README.zh-CN.md @@ -93,17 +93,17 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------|------| | name | 唯一标识符,默认为索引值 | `String | Number` | `index` | - | -| icon | 标题栏左侧图标名称或图片链接,可选值见 Icon 组件 | `String` | - | 1.2.1 | +| icon | 标题栏左侧图标名称或图片链接,可选值见 Icon 组件 | `String` | - | - | | size | 标题栏大小,可选值为 `large` | `String` | - | 1.6.9 | | title | 标题栏左侧内容 | `String | Number` | - | - | -| value | 标题栏右侧内容 | `String | Number` | - | 1.2.1 | -| label | 标题栏描述信息 | `String | Number` | - | 1.2.1 | -| border | 是否显示内边框 | `Boolean` | `true` | 1.2.1 | -| is-link | 是否展示标题栏右侧箭头并开启点击反馈 | `Boolean` | `true` | 1.2.1 | -| disabled | 是否禁用面板 | `Boolean` | `false` | 1.3.6 | -| title-class | 左侧标题额外类名 | `String` | - | 1.4.8 | -| value-class | 右侧内容额外类名 | `String` | - | 1.4.8 | -| label-class | 描述信息额外类名 | `String` | - | 1.4.8 | +| value | 标题栏右侧内容 | `String | Number` | - | - | +| label | 标题栏描述信息 | `String | Number` | - | - | +| border | 是否显示内边框 | `Boolean` | `true` | - | +| is-link | 是否展示标题栏右侧箭头并开启点击反馈 | `Boolean` | `true` | - | +| disabled | 是否禁用面板 | `Boolean` | `false` | - | +| title-class | 左侧标题额外类名 | `String` | - | - | +| value-class | 右侧内容额外类名 | `String` | - | - | +| label-class | 描述信息额外类名 | `String` | - | - | ### CollapseItem Slots diff --git a/src/coupon-list/README.zh-CN.md b/src/coupon-list/README.zh-CN.md index 39581ca28..0e03fdb94 100644 --- a/src/coupon-list/README.zh-CN.md +++ b/src/coupon-list/README.zh-CN.md @@ -76,7 +76,7 @@ export default { | chosen-coupon | 当前选中优惠券的索引 | `Number` | `-1` | - | | coupons | 可用优惠券列表 | `Array` | `[]` | - | | editable | 能否切换优惠券 | `Boolean` | `true` | - | -| border | 是否显示内边框 | `Boolean` | `true` | 1.3.10 | +| border | 是否显示内边框 | `Boolean` | `true` | - | | currency | 货币符号 | `String` | `¥` | - | 1.5.0 | ### CouponList Props diff --git a/src/datetime-picker/README.zh-CN.md b/src/datetime-picker/README.zh-CN.md index 2bdfd3123..1557ac7a1 100644 --- a/src/datetime-picker/README.zh-CN.md +++ b/src/datetime-picker/README.zh-CN.md @@ -152,22 +152,22 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| -| type | 类型,可选值为 `date`
`time` `year-month` | `String` | `datetime` | 1.0.2 | +| type | 类型,可选值为 `date`
`time` `year-month` | `String` | `datetime` | - | | min-date | 可选的最小时间,精确到分钟 | `Date` | 十年前 | - | | max-date | 可选的最大时间,精确到分钟 | `Date` | 十年后 | - | | min-hour | 可选的最小小时,针对 time 类型 | `Number` | `0` | - | | max-hour | 可选的最大小时,针对 time 类型 | `Number` | `23` | - | -| min-minute | 可选的最小分钟,针对 time 类型 | `Number` | `0` | 1.1.15 | -| max-minute | 可选的最大分钟,针对 time 类型 | `Number` | `59` | 1.1.15 | +| min-minute | 可选的最小分钟,针对 time 类型 | `Number` | `0` | - | +| max-minute | 可选的最大分钟,针对 time 类型 | `Number` | `59` | - | | filter | 选项过滤函数 | `(type, values) => values` | - | 2.0.0 | -| formatter | 选项格式化函数 | `(type, value) => value` | - | 1.1.14 | -| title | 顶部栏标题 | `String` | `''` | 1.0.4 | -| show-toolbar | 是否显示顶部栏 | `Boolean` | `false` | 1.0.2 | -| loading | 是否显示加载状态 | `Boolean` | `false` | 1.0.4 | -| item-height | 选项高度 | `Number` | `44` | 1.0.4 | -| confirm-button-text | 确认按钮文字 | `String` | `确认` | 1.0.4 | -| cancel-button-text | 取消按钮文字 | `String` | `取消` | 1.0.4 | -| visible-item-count | 可见的选项个数 | `Number` | `5` | 1.0.4 | +| formatter | 选项格式化函数 | `(type, value) => value` | - | - | +| title | 顶部栏标题 | `String` | `''` | - | +| show-toolbar | 是否显示顶部栏 | `Boolean` | `false` | - | +| loading | 是否显示加载状态 | `Boolean` | `false` | - | +| item-height | 选项高度 | `Number` | `44` | - | +| confirm-button-text | 确认按钮文字 | `String` | `确认` | - | +| cancel-button-text | 取消按钮文字 | `String` | `取消` | - | +| visible-item-count | 可见的选项个数 | `Number` | `5` | - | ### Events diff --git a/src/dialog/README.zh-CN.md b/src/dialog/README.zh-CN.md index 2a5254420..a487cbb73 100644 --- a/src/dialog/README.zh-CN.md +++ b/src/dialog/README.zh-CN.md @@ -149,7 +149,7 @@ export default { | title | 标题 | `String` | - | - | | message | 文本内容,支持通过`\n`换行 | `String` | - | - | | messageAlign | 内容对齐方式,可选值为`left` `right` | `String` | `center` | 1.5.0 | -| className | 自定义类名 | `String | Array | Object` | - | 1.1.7 | +| className | 自定义类名 | `String | Array | Object` | - | - | | showConfirmButton | 是否展示确认按钮 | `Boolean` | `true` | - | | showCancelButton | 是否展示取消按钮 | `Boolean` | `false` | - | | cancelButtonText | 取消按钮文案 | `String` | `取消` | - | @@ -159,7 +159,7 @@ export default { | overlay | 是否展示遮罩层 | `Boolean` | `true` | - | | closeOnClickOverlay | 点击遮罩层时是否关闭弹窗 | `Boolean` | `false` | - | | lockScroll | 是否锁定背景滚动 | `Boolean` | `true` | - | -| beforeClose | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | 1.1.6 | +| beforeClose | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | - | | getContainer | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | `body` | 1.6.11 | ### Props @@ -181,8 +181,8 @@ export default { | overlay | 是否展示遮罩层 | `Boolean` | `true` | - | | close-on-click-overlay | 是否在点击遮罩层后关闭 | `Boolean` | `false` | - | | lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | - | -| before-close | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | 1.1.6 | -| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | `body` | 1.1.6 | +| before-close | 关闭前的回调函数,
调用 done() 后关闭弹窗,
调用 done(false) 阻止弹窗关闭 | `(action, done) => void` | - | - | +| get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | `body` | - | ### Events diff --git a/src/goods-action/README.zh-CN.md b/src/goods-action/README.zh-CN.md index 7e490b8c5..394ad5e2a 100644 --- a/src/goods-action/README.zh-CN.md +++ b/src/goods-action/README.zh-CN.md @@ -112,9 +112,9 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| | text | 按钮文字 | `String` | - | - | -| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | `String` | `default` | -| disabled | 是否禁用按钮 | `Boolean` | `false` | - | 1.3.10 | -| loading | 是否显示为加载状态 | `Boolean` | `false` | - | 1.3.10 | +| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | `String` | `default` | 2.0.0 | +| disabled | 是否禁用按钮 | `Boolean` | `false` | - | - | +| loading | 是否显示为加载状态 | `Boolean` | `false` | - | - | | url | 跳转链接 | `String` | - | - | | to | 路由跳转对象,同 vue-router 的 to 属性 | `String | Object` | - | - | | replace | 跳转时是否替换当前页面历史 | `Boolean` | `false` | - | diff --git a/src/icon/README.zh-CN.md b/src/icon/README.zh-CN.md index 92264bc6a..d25453cec 100644 --- a/src/icon/README.zh-CN.md +++ b/src/icon/README.zh-CN.md @@ -65,9 +65,9 @@ import 'vant/lib/icon/local.css'; |------|------|------|------|------| | name | 图标名称或图片链接 | `String` | - | - | | info | 图标右上角文字提示 | `String | Number` | - | - | -| color | 图标颜色 | `String` | `inherit` | 1.1.3 | +| color | 图标颜色 | `String` | `inherit` | - | | size | 图标大小,如 `20px` `2em`,默认单位为`px` | `String | Number` | `inherit` | 2.0.0 | -| class-prefix | 类名前缀 | `String` | `van-icon` | 1.2.1 | +| class-prefix | 类名前缀 | `String` | `van-icon` | - | | tag | HTML 标签 | `String` | `i` | 1.6.10 | ### Events diff --git a/src/image-preview/README.zh-CN.md b/src/image-preview/README.zh-CN.md index 0675eeb84..42cd66965 100644 --- a/src/image-preview/README.zh-CN.md +++ b/src/image-preview/README.zh-CN.md @@ -101,14 +101,14 @@ export default { | 参数名 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| -| images | 需要预览的图片 URL 数组 | `Array` | `[]` | 1.1.16 | -| startPosition | 图片预览起始位置索引 | `Number` | `0` | 1.1.16 | -| showIndex | 是否显示页码 | `Boolean` | `true` | 1.3.4 | -| showIndicators | 是否显示轮播指示器 | `Boolean` | `false` | 1.3.10 | -| loop | 是否开启循环播放 | `Boolean` | `true` | 1.4.4 | -| onClose | 关闭时的回调函数 | `Function` | - | 1.1.16 | +| images | 需要预览的图片 URL 数组 | `Array` | `[]` | - | +| startPosition | 图片预览起始位置索引 | `Number` | `0` | - | +| showIndex | 是否显示页码 | `Boolean` | `true` | - | +| showIndicators | 是否显示轮播指示器 | `Boolean` | `false` | - | +| loop | 是否开启循环播放 | `Boolean` | `true` | - | +| onClose | 关闭时的回调函数 | `Function` | - | - | | onChange | 切换图片时的回调函数,回调参数为当前索引 | `Function` | - | 2.0.3 | -| asyncClose | 是否开启异步关闭 | `Boolean` | `false` | 1.4.8 | +| asyncClose | 是否开启异步关闭 | `Boolean` | `false` | - | | closeOnPopstate | 是否在页面回退时自动关闭 | `Boolean` | `false` | 2.0.0 | | className | 自定义类名 | `String | Array | Object` | - | 1.5.2 | | lazyLoad | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | `Boolean` | `false` | 1.5.3 | diff --git a/src/list/README.zh-CN.md b/src/list/README.zh-CN.md index 9e8ce905c..4c2b0c34e 100644 --- a/src/list/README.zh-CN.md +++ b/src/list/README.zh-CN.md @@ -137,8 +137,8 @@ List 初始化后会触发一次 load 事件,用于加载第一屏的数据, | finished | 是否已加载完成,加载完成后不再触发`load`事件 | `Boolean` | `false` | - | | error | 是否加载失败,加载失败后点击错误提示可以重新
触发`load`事件,必须使用`sync`修饰符 | `Boolean` | `false` | - | | offset | 滚动条与底部距离小于 offset 时触发`load`事件 | `Number` | `300` | - | -| loading-text | 加载过程中的提示文案 | `String` | `加载中...` | 1.1.1 | -| finished-text | 加载完成后的提示文案 | `String` | - | 1.4.7 | +| loading-text | 加载过程中的提示文案 | `String` | `加载中...` | - | +| finished-text | 加载完成后的提示文案 | `String` | - | - | | error-text | 加载失败后的提示文案 | `String` | - | 1.5.3 | | immediate-check | 是否在初始化时立即执行滚动位置检查 | `Boolean` | `true` | - | | direction | 滚动触发加载的方向,可选值为`up` | `String` | `down` | 1.6.16 | diff --git a/src/nav-bar/README.zh-CN.md b/src/nav-bar/README.zh-CN.md index 47df826ca..d727d3bbd 100644 --- a/src/nav-bar/README.zh-CN.md +++ b/src/nav-bar/README.zh-CN.md @@ -57,7 +57,7 @@ export default { | right-text | 右侧文案 | `String` | `''` | - | | left-arrow | 是否显示左侧箭头 | `Boolean` | `false` | - | | fixed | 是否固定在顶部 | `Boolean` | `false` | - | -| border | 是否显示下边框 | `Boolean` | `true` | 1.4.7 | +| border | 是否显示下边框 | `Boolean` | `true` | - | | z-index | 元素 z-index | `Number` | `1` | - | ### Slots diff --git a/src/notify/README.zh-CN.md b/src/notify/README.zh-CN.md index 5e6ba8056..44e4ec2db 100644 --- a/src/notify/README.zh-CN.md +++ b/src/notify/README.zh-CN.md @@ -53,10 +53,10 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| -| message | 展示文案,支持通过`\n`换行 | `String` | - | 1.4.7 | -| duration | 展示时长(ms),值为 0 时,notify 不会消失 | `Number` | `3000` | 1.4.7 | -| color | 字体颜色 | `String` | `#fff` | 1.4.7 | -| background | 背景颜色 | `String` | `#f44` | 1.4.7 | +| message | 展示文案,支持通过`\n`换行 | `String` | - | - | +| duration | 展示时长(ms),值为 0 时,notify 不会消失 | `Number` | `3000` | - | +| color | 字体颜色 | `String` | `#fff` | - | +| background | 背景颜色 | `String` | `#f44` | - | | className | 自定义类名 | `String | Array | Object` | - | 1.6.0 | | onClick | 点击时的回调函数 | `Function` | - | 2.0.0 | | onOpened | 完全展示后的回调函数 | `Function` | - | 2.0.0 | diff --git a/src/panel/README.zh-CN.md b/src/panel/README.zh-CN.md index fa9f9683e..5c87ab9c1 100644 --- a/src/panel/README.zh-CN.md +++ b/src/panel/README.zh-CN.md @@ -43,7 +43,7 @@ Vue.use(Panel); | title | 标题 | `String` | - | - | | desc | 描述 | `String` | - | - | | status | 状态 | `String` | - | - | -| icon | 标题左侧图标名称或图片链接,可选值见 Icon 组件 | `String` | - | 1.3.8 | +| icon | 标题左侧图标名称或图片链接,可选值见 Icon 组件 | `String` | - | - | ### Slots diff --git a/src/popup/README.zh-CN.md b/src/popup/README.zh-CN.md index 7405f7582..6fee0a668 100644 --- a/src/popup/README.zh-CN.md +++ b/src/popup/README.zh-CN.md @@ -104,8 +104,8 @@ export default { | duration | 动画时长,单位秒 | `Number` | `0.3` | 2.0.0 | | get-container | 指定挂载的节点,可以传入选择器,
或一个返回节点的函数 | `String | () => HTMLElement` | - | - | | close-on-click-overlay | 是否在点击遮罩层后关闭 | `Boolean` | `true` | - | -| lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | 1.0.0 | -| lazy-render | 是否在显示弹层时才渲染节点 | `Boolean` | `true` | 1.1.5 | +| lock-scroll | 是否锁定背景滚动 | `Boolean` | `true` | - | +| lazy-render | 是否在显示弹层时才渲染节点 | `Boolean` | `true` | - | ### Events diff --git a/src/pull-refresh/README.zh-CN.md b/src/pull-refresh/README.zh-CN.md index 44b1ce094..a2518c38e 100644 --- a/src/pull-refresh/README.zh-CN.md +++ b/src/pull-refresh/README.zh-CN.md @@ -55,7 +55,7 @@ export default { | success-duration | 加载成功提示时长(ms) | `Number` | `500` | 1.6.2 | | animation-duration | 动画时长 | `Number` | `300` | - | | head-height | 顶部内容高度 | `Number` | `50` | - | -| disabled | 是否禁用 | `Boolean` | `false` | 1.1.10 | +| disabled | 是否禁用下拉刷新 | `Boolean` | `false` | - | ### Events diff --git a/src/radio/README.zh-CN.md b/src/radio/README.zh-CN.md index 72ad22abf..a38f468dc 100644 --- a/src/radio/README.zh-CN.md +++ b/src/radio/README.zh-CN.md @@ -118,9 +118,9 @@ export default { | shape | 形状,可选值为 `square` | `String` | `round` | 1.6.0 | | disabled | 是否为禁用状态 | `Boolean` | `false` | - | | icon-size | 图标大小,默认单位为`px` | `String | Number` | `20px` | 2.0.0 | -| label-disabled | 是否禁用文本内容点击 | `Boolean` | `false` | 1.1.13 | -| label-position | 文本位置,可选值为 `left` | `String` | `right` | 1.1.13 | -| checked-color | 选中状态颜色 | `String` | `#1989fa` | 1.4.5 | +| label-disabled | 是否禁用文本内容点击 | `Boolean` | `false` | - | +| label-position | 文本位置,可选值为 `left` | `String` | `right` | - | +| checked-color | 选中状态颜色 | `String` | `#1989fa` | - | ### RadioGroup Props diff --git a/src/rate/README.zh-CN.md b/src/rate/README.zh-CN.md index d2a7f28a8..774d61be7 100644 --- a/src/rate/README.zh-CN.md +++ b/src/rate/README.zh-CN.md @@ -98,10 +98,10 @@ export default { | gutter | 图标间距,默认单位为`px` | `String | Number` | `4px` | 2.0.0 | | color | 选中时的颜色 | `String` | `#ffd21e` | - | | void-color | 未选中时的颜色 | `String` | `#c7c7c7` | - | -| icon | 选中时的图标名称或图片链接,可选值见 Icon 组件 | `String` | `star` | 1.4.7 | -| void-icon | 未选中时的图标名称或图片链接,可选值见 Icon 组件 | `String` | `star-o` | 1.4.7 | +| icon | 选中时的图标名称或图片链接,可选值见 Icon 组件 | `String` | `star` | - | +| void-icon | 未选中时的图标名称或图片链接,可选值见 Icon 组件 | `String` | `star-o` | - | | allow-half | 是否允许半选 | `Boolean` | `false` | 1.6.14 | -| readonly | 是否为只读状态 | `Boolean` | `false` | 1.3.0 | +| readonly | 是否为只读状态 | `Boolean` | `false` | - | | disabled | 是否禁用评分 | `Boolean` | `false` | - | | disabled-color | 禁用时的颜色 | `String` | `#bdbdbd` | - | diff --git a/src/slider/README.zh-CN.md b/src/slider/README.zh-CN.md index 1c755a870..ea011de32 100644 --- a/src/slider/README.zh-CN.md +++ b/src/slider/README.zh-CN.md @@ -92,12 +92,12 @@ Slider 垂直展示时,高度为 100% 父元素高度 | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| -| value | 当前进度百分比 | `Number` | `0` | 1.1.0 | -| disabled | 是否禁用滑块 | `Boolean` | `false` | 1.1.0 | -| max | 最大值 | `Number` | `100` | 1.1.0 | -| min | 最小值 | `Number` | `0` | 1.1.0 | -| step | 步长 | `Number` | `1` | 1.1.0 | -| bar-height | 进度条高度 | `String` | `2px` | 1.1.0 | +| value | 当前进度百分比 | `Number` | `0` | - | +| disabled | 是否禁用滑块 | `Boolean` | `false` | - | +| max | 最大值 | `Number` | `100` | - | +| min | 最小值 | `Number` | `0` | - | +| step | 步长 | `Number` | `1` | - | +| bar-height | 进度条高度 | `String` | `2px` | - | | active-color | 进度条激活态颜色 | `String` | `#1989fa` | 1.5.1 | | inactive-color | 进度条默认颜色 | `String` | `#e5e5e5` | 1.5.1 | | vertical | 是否垂直展示 | `Boolean` | `false` | 1.6.13 | diff --git a/src/stepper/README.zh-CN.md b/src/stepper/README.zh-CN.md index 6077a2604..19a1ee21d 100644 --- a/src/stepper/README.zh-CN.md +++ b/src/stepper/README.zh-CN.md @@ -93,7 +93,7 @@ export default { | min | 最小值 | `String | Number` | `1` | - | | max | 最大值 | `String | Number` | - | - | | step | 步数 | `String | Number` | `1` | - | -| integer | 是否只允许输入整数 | `Boolean` | `false` | 1.1.1 | +| integer | 是否只允许输入整数 | `Boolean` | `false` | - | | disabled | 是否禁用步进器 | `Boolean` | `false` | - | | disable-input | 是否禁用输入框 | `Boolean` | `false` | - | | async-change | 是否开启异步变更,开启后需要手动控制输入值 | `Boolean` | `false` | - | diff --git a/src/submit-bar/README.zh-CN.md b/src/submit-bar/README.zh-CN.md index e6a67f1f4..42e518a09 100644 --- a/src/submit-bar/README.zh-CN.md +++ b/src/submit-bar/README.zh-CN.md @@ -80,7 +80,7 @@ Vue.use(SubmitBar); | tip-icon | 左侧图标名称或图片链接,可选值见 Icon 组件 | `String` | - | - | | disabled | 是否禁用按钮 | `Boolean` | `false` | - | | loading | 是否显示加载中的按钮 | `Boolean` | `false` | - | -| currency | 货币符号 | `String` | `¥` | 1.0.6 | +| currency | 货币符号 | `String` | `¥` | - | | decimal-length | 价格小数点后位数 | `Number` | `2` | 1.6.15 | | safe-area-inset-bottom | 是否开启 iPhone X 底部安全区适配,需要在 `viewport` meta 标签中设置 `viewport-fit=cover` | `Boolean` | `false` | 1.6.15 | diff --git a/src/swipe-cell/README.zh-CN.md b/src/swipe-cell/README.zh-CN.md index 3ac85917e..24d6e22da 100644 --- a/src/swipe-cell/README.zh-CN.md +++ b/src/swipe-cell/README.zh-CN.md @@ -91,7 +91,7 @@ export default { |------|------|------|------|------| | name | 标识符,可以在 onClose 的参数中获取到 | `String | Number` | - | 2.0.4 | | on-close | 关闭时的回调函数 | `Function` | - | - | -| disabled | 是否禁用滑动 | `Boolean` | `false` | 1.3.4 | +| disabled | 是否禁用滑动 | `Boolean` | `false` | - | | left-width | 指定左侧滑动区域宽度 | `Number` | `auto` | - | | right-width | 指定右侧滑动区域宽度 | `Number` | `auto` | - | diff --git a/src/swipe/README.zh-CN.md b/src/swipe/README.zh-CN.md index ee9381a76..f03eb16e2 100644 --- a/src/swipe/README.zh-CN.md +++ b/src/swipe/README.zh-CN.md @@ -132,11 +132,11 @@ export default { | initial-swipe | 初始位置索引值 | `Number` | `0` | - | | loop | 是否开启循环播放 | `Boolean` | `true` | - | | show-indicators | 是否显示指示器 | `Boolean` | `true` | - | -| indicator-color | 指示器颜色 | `String` | `#1989fa` | 1.4.5 | -| vertical | 是否为纵向滚动 | `Boolean` | `false` | 1.1.1 | -| touchable | 是否可以通过手势滑动 | `Boolean` | `true` | 1.1.1 | -| width | 滑块宽度 | `Number` | `0` | 1.2.1 | -| height | 滑块高度 | `Number` | `0` | 1.2.1 | +| indicator-color | 指示器颜色 | `String` | `#1989fa` | - | +| vertical | 是否为纵向滚动 | `Boolean` | `false` | - | +| touchable | 是否可以通过手势滑动 | `Boolean` | `true` | - | +| width | 滑块宽度 | `Number` | `0` | - | +| height | 滑块高度 | `Number` | `0` | - | ### Swipe Events diff --git a/src/switch-cell/README.zh-CN.md b/src/switch-cell/README.zh-CN.md index ba6b9a8ec..6c10470d5 100644 --- a/src/switch-cell/README.zh-CN.md +++ b/src/switch-cell/README.zh-CN.md @@ -64,7 +64,7 @@ export default { | cell-size | 单元格大小,可选值为 `large` | `String` | 2.0.0 | | loading | 是否为加载状态 | `Boolean` | `false` | - | | disabled | 是否为禁用状态 | `Boolean` | `false` | - | -| size | 开关尺寸 | `String` | `24px` | 1.1.11 | +| size | 开关尺寸 | `String` | `24px` | - | | active-color | 开关时的背景色 | `String` | `#1989fa` | 1.5.0 | | inactive-color | 开关时的背景色 | `String` | `#fff` | 1.5.0 | | active-value | 打开时的值 | `any` | `true` | 1.5.6 | diff --git a/src/switch/README.zh-CN.md b/src/switch/README.zh-CN.md index b63284302..bef7a0fa5 100644 --- a/src/switch/README.zh-CN.md +++ b/src/switch/README.zh-CN.md @@ -102,9 +102,9 @@ export default { | v-model | 开关选中状态 | `any` | `false` | - | | loading | 是否为加载状态 | `Boolean` | `false` | - | | disabled | 是否为禁用状态 | `Boolean` | `false` | - | -| size | 开关尺寸 | `String` | `30px` | 1.0.0 | -| active-color | 打开时的背景色 | `String` | `#1989fa` | 1.4.2 | -| inactive-color | 关闭时的背景色 | `String` | `#fff` | 1.4.2 | +| size | 开关尺寸 | `String` | `30px` | - | +| active-color | 打开时的背景色 | `String` | `#1989fa` | - | +| inactive-color | 关闭时的背景色 | `String` | `#fff` | - | | active-value | 打开时的值 | `any` | `true` | 1.5.6 | | inactive-value | 关闭时的值 | `any` | `false` | 1.5.6 | diff --git a/src/tab/README.zh-CN.md b/src/tab/README.zh-CN.md index 7aff1c32e..ffa776af1 100644 --- a/src/tab/README.zh-CN.md +++ b/src/tab/README.zh-CN.md @@ -157,22 +157,22 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| -| v-model | 当前标签的索引 | `String` `Number` | `0` | 1.0.6 | +| v-model | 当前标签的索引 | `String` `Number` | `0` | - | | type | 样式类型,可选值为`card` | `String` | `line` | - | | duration | 动画时间,单位秒 | `Number` | `0.3` | - | | background | 标签栏背景色 | `String` | `white` | 1.6.5 | -| line-width | 底部条宽度,默认单位 px | `Number | String` | `auto` | 1.1.1 | +| line-width | 底部条宽度,默认单位 px | `Number | String` | `auto` | - | | line-height | 底部条高度,默认单位 px | `Number | String` | `3px` | 1.5.0 | -| color | 标签主题色 | `String` | `#f44` | 1.2.0 | +| color | 标签主题色 | `String` | `#f44` | - | | title-active-color | 标题选中态颜色 | `String` | - | 1.6.5 | | title-inactive-color | 标题默认态颜色 | `String` | - | 1.6.5 | | swipe-threshold | 滚动阈值,标签数量超过多少个可滚动 | `Number` | `4` | - | -| offset-top | 粘性定位布局下与顶部的最小距离,单位 px | `Number` | `0` | 1.1.15 | -| animated | 是否开启切换标签内容时的转场动画 | `Boolean` | `false` | 1.4.5 | +| offset-top | 粘性定位布局下与顶部的最小距离,单位 px | `Number` | `0` | - | +| animated | 是否开启切换标签内容时的转场动画 | `Boolean` | `false` | - | | border | 是否显示标签栏外边框,仅在`type="line"`时有效 | `Boolean` | `true` | 2.0.0 | | ellipsis | 是否省略过长的标题文字 | `Boolean` | `true` | 1.5.0 | | sticky | 是否使用粘性定位布局 | `Boolean` | `false` | - | -| swipeable | 是否开启手势滑动切换 | `Boolean` | `false` | 1.0.0 | +| swipeable | 是否开启手势滑动切换 | `Boolean` | `false` | - | | lazy-render | 是否开启标签页内容延迟渲染 | `Boolean` | `true` | 1.6.6 | ### Tab Props diff --git a/src/tabbar/README.zh-CN.md b/src/tabbar/README.zh-CN.md index 2b7a1caca..6d17160fd 100644 --- a/src/tabbar/README.zh-CN.md +++ b/src/tabbar/README.zh-CN.md @@ -149,7 +149,7 @@ export default { | v-model | 当前选中标签的名称或索引值 | `String | Number` | `0` | - | | fixed | 是否固定在底部 | `Boolean` | `true` | - | | border | 是否显示外边框 | `Boolean` | `true` | 2.0.0 | -| z-index | 元素 z-index | `Number` | `1` | 1.1.9 | +| z-index | 元素 z-index | `Number` | `1` | - | | active-color | 选中标签的颜色 | `String` | `#1989fa` | 1.5.1 | | inactive-color | 未选中标签的颜色 | `String` | `#7d7e80` | 2.0.0 | | route | 是否开启路由模式 | `Boolean` | `false` | 2.0.0 | diff --git a/src/tag/README.zh-CN.md b/src/tag/README.zh-CN.md index fb75b833a..d3e779b3a 100644 --- a/src/tag/README.zh-CN.md +++ b/src/tag/README.zh-CN.md @@ -79,10 +79,10 @@ Vue.use(Tag); | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| | type | 类型,可选值为`primary` `success` `danger` | `String` | - | - | -| size | 大小, 可选值为`large` `medium` | `String` | - | 1.3.8 | -| color | 标签颜色 | `String` | - | 1.3.8 | +| size | 大小, 可选值为`large` `medium` | `String` | - | - | +| color | 标签颜色 | `String` | - | - | | plain | 是否为空心样式 | `Boolean` | `false` | - | -| round | 是否为圆角样式 | `Boolean` | `false` | 1.3.8 | +| round | 是否为圆角样式 | `Boolean` | `false` | - | | mark | 是否为标记样式 | `Boolean` | `false` | - | | text-color | 文本颜色,优先级高于`color`属性 | `String` | `white` | 1.5.0 | diff --git a/src/toast/README.zh-CN.md b/src/toast/README.zh-CN.md index 72ae5a4bb..30ce72f84 100644 --- a/src/toast/README.zh-CN.md +++ b/src/toast/README.zh-CN.md @@ -119,7 +119,7 @@ toast2.clear(); | icon | 自定义图标,支持传入图标名称或图片链接,可选值见 Icon 组件 | `String` | - | 2.0.1 | | mask | 是否显示背景遮罩层 | `Boolean` | `false` | - | | forbidClick | 是否禁止背景点击 | `Boolean` | `false` | - | -| loadingType | 加载图标类型, 可选值为 `spinner` | `String` | `circular` | 1.1.3 | +| loadingType | 加载图标类型, 可选值为 `spinner` | `String` | `circular` | - | | duration | 展示时长(ms),值为 0 时,toast 不会消失 | `Number` | `3000` | - | | className | 自定义类名 | `String | Array | Object` | - | 1.6.0 | | onOpened | 完全展示后的回调函数 | `Function` | - | 2.0.0 | diff --git a/src/tree-select/README.zh-CN.md b/src/tree-select/README.zh-CN.md index fd7c8f394..4cfb96b8f 100644 --- a/src/tree-select/README.zh-CN.md +++ b/src/tree-select/README.zh-CN.md @@ -51,7 +51,7 @@ export default { | 参数 | 说明 | 类型 | 默认值 | 版本 | |------|------|------|------|------| | items | 分类显示所需的数据,结构参见下方 | `Array` | `[]` | - | -| height | 高度,单位为 px | `Number` | `300` | 1.3.6 | +| height | 高度,单位为 px | `Number` | `300` | - | | main-active-index | 左侧导航高亮的索引 | `Number` | `0` | - | | active-id | 右侧选择项,高亮的数据id | `String | Number` | `0` | - |