Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-10-02 08:50:37 +08:00
57 changed files with 500 additions and 270 deletions

View File

@@ -164,11 +164,11 @@ Use `active-color` prop to custom active color of the title and options.
### DropdownItem Methods
Use [ref](https://vuejs.org/v2/api/#ref) to get DropdownItem instance and call instance methods
Use [ref](https://vuejs.org/v2/api/#ref) to get DropdownItem instance and call instance methods.
| Name | Description | Attribute | Return value |
| ------ | -------------- | ------------- | ------------ |
| toggle | Toggle display | show: boolean | - |
| Name | Description | Attribute | Return value |
| ------ | -------------- | --------------- | ------------ |
| toggle | Toggle display | _show: boolean_ | - |
### Data Structure of Option

View File

@@ -1,5 +1,9 @@
# DropdownMenu 下拉菜单
### 介绍
向下弹出的菜单列表。
### 引入
```js
@@ -168,11 +172,11 @@ export default {
### DropdownItem 方法
通过 ref 可以获取到 DropdownItem 实例并调用实例方法,详见[组件实例方法](#/zh-CN/quickstart#zu-jian-shi-li-fang-fa)
通过 ref 可以获取到 DropdownItem 实例并调用实例方法,详见[组件实例方法](#/zh-CN/quickstart#zu-jian-shi-li-fang-fa)
| 方法名 | 说明 | 参数 | 返回值 |
| --- | --- | --- | --- |
| toggle | 切换菜单展示状态,传`true`为显示,`false`为隐藏,不传参为取反 | show?: boolean | - |
| toggle | 切换菜单展示状态,传 `true` 为显示,`false` 为隐藏,不传参为取反 | _show?: boolean_ | - |
### Option 数据结构