1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

docs(Collapse): fix typo

This commit is contained in:
陈嘉涵 2019-08-28 11:19:26 +08:00
parent 0f72340c8d
commit ac193fef3c
3 changed files with 6 additions and 6 deletions
packages/vant-waterfall
src/collapse

@ -90,5 +90,5 @@ export default {
|------|------|------|------|------| |------|------|------|------|------|
| v-waterfall-lower | 滚动到底部, 触发执行的函数 | *Function* | - | - | | v-waterfall-lower | 滚动到底部, 触发执行的函数 | *Function* | - | - |
| v-waterfall-upper | 滚动到顶部, 触发执行的函数 | *Function* | - | - | | v-waterfall-upper | 滚动到顶部, 触发执行的函数 | *Function* | - | - |
| waterfall-disabled | 在 vue 对象中表示是否禁止瀑布流触发的 key 值 | `String` | - | - | | waterfall-disabled | 在 vue 对象中表示是否禁止瀑布流触发的 key 值 | *string* | - | - |
| waterfall-offset | 触发瀑布流加载的阈值 | `Number` | `300` | - | | waterfall-offset | 触发瀑布流加载的阈值 | *number* | `300` | - |

@ -89,7 +89,7 @@ export default {
| Attribute | Description | Type | Default | Version | | Attribute | Description | Type | Default | Version |
|------|------|------|------|------| |------|------|------|------|------|
| v-model | Names of current active panels | `(string | number)[] `(non-accordion mode)<br>*string \| number*(accordion mode) | - | - | | v-model | Names of current active panels | accordion mode *string \| number*<br>non-accordion mode*(string \| number)[]* | - | - |
| accordion | Whether to be accordion mode | *boolean* | `false` | - | | accordion | Whether to be accordion mode | *boolean* | `false` | - |
| border | Whether to show outer border | *boolean* | `true` | - | | border | Whether to show outer border | *boolean* | `true` | - |
@ -97,7 +97,7 @@ export default {
| Event | Description | Arguments | | Event | Description | Arguments |
|------|------|------| |------|------|------|
| change | Triggered when switch panel | activeNames: `(string | number)[] `(non-accordion mode) / *string \| number*(accordion mode) | | change | Triggered when switch panel | activeNames |
### CollapseItem Props ### CollapseItem Props

@ -90,7 +90,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 | | 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------| |------|------|------|------|------|
| v-model | 当前展开面板的 name | `(string | number)[] `(非手风琴模式)<br>*string \| number*(手风琴模式) | - | - | | v-model | 当前展开面板的 name | 手风琴模式:*string \| number*<br>非手风琴模式:*(string \| number)[]* | - | - |
| accordion | 是否开启手风琴模式 | *boolean* | `false` | - | | accordion | 是否开启手风琴模式 | *boolean* | `false` | - |
| border | 是否显示外边框 | *boolean* | `true` | - | | border | 是否显示外边框 | *boolean* | `true` | - |
@ -98,7 +98,7 @@ export default {
| 事件名 | 说明 | 回调参数 | | 事件名 | 说明 | 回调参数 |
|------|------|------| |------|------|------|
| change | 切换面板时触发 | activeNames: `(string | number)[] `(非手风琴模式) / *string \| number*(手风琴模式) | | change | 切换面板时触发 | activeNames: 类型与 v-model 绑定的值一致 |
### CollapseItem Props ### CollapseItem Props