Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed May 21, 2023
1 parent 321b4e1 commit e9f576b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/.vitepress/theme/components/vp-search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
.vp-search__result {
position: absolute;
background-color: #fff;
width: 100%;
box-shadow: 0 1px 6px rgb(0 0 0 / 20%);
max-height: 400px;
overflow: auto;
Expand Down
14 changes: 10 additions & 4 deletions docs/components/collapse-animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,16 @@

## Attributes

| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| ---------- | -------- | ------- | ------ | ------ |
| `opened` | 是否打开 | boolean | —— | false |
| `disabled` | 是否禁用 | boolean | —— | false |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
| ----------------- | ------------------ | ----------------------------------------------------------- | ------ | ------ |
| `opened` | 是否打开 | boolean | —— | false |
| `disabled` | 是否禁用 | boolean | —— | false |
| `width-animation` | 是否宽度自适应 | boolean | —— | false |
| `animation-time` | 动画时间 | number | —— | 0.747 |
| `on-open` | 打开动画开始的回调 | <a href="/components/popup#popupcallback">PopupCallback</a> | —— | —— |
| `on-open-end` | 打开动画结束的回调 | <a href="/components/popup#popupcallback">PopupCallback</a> | —— | —— |
| `on-close` | 关闭动画开始的回调 | <a href="/components/popup#popupcallback">PopupCallback</a> | —— | —— |
| `on-close-end` | 关闭动画结束的回调 | <a href="/components/popup#popupcallback">PopupCallback</a> | —— | —— |

## Slots

Expand Down

0 comments on commit e9f576b

Please sign in to comment.