Browse Source

docs: menu api attr desc edit

richard1015 3 years ago
parent
commit
d301d72def
2 changed files with 42 additions and 42 deletions
  1. 21 21
      src/packages/__VUE/menu/doc.en-US.md
  2. 21 21
      src/packages/__VUE/menu/doc.md

+ 21 - 21
src/packages/__VUE/menu/doc.en-US.md

@@ -388,32 +388,32 @@ export default {
 
 ### Menu Props
 
-| Attribute         | Description                             | Type   | Default           |
-|--------------|----------------------------------|--------|------------------|
-| active-color         | Active color of title and option     | String | #F2270C               |
-| close-on-click-overlay `v3.1.21`        | Whether to close when overlay is clicked     | Boolean | true               |
-| scroll-fixed `v3.1.22`        | Whether to fixed when window is scrolled, fixed position can be set     | Boolean、String、Number | false               |
-| title-class `v3.1.22`        | Custome title class     | String | -               |
-| lock-scroll `v3.1.22`        | Whether the background is locked     | Boolean | true               |
+| Attribute                        | Description                                                         | Type                    | Default |
+|----------------------------------|---------------------------------------------------------------------|-------------------------|---------|
+| active-color                     | Active color of title and option                                    | String                  | #F2270C |
+| close-on-click-overlay `v3.1.21` | Whether to close when overlay is clicked                            | Boolean                 | true    |
+| scroll-fixed `v3.1.22`           | Whether to fixed when window is scrolled, fixed position can be set | Boolean、String、Number | false   |
+| title-class `v3.1.22`            | Custome title class                                                 | String                  | -       |
+| lock-scroll `v3.1.22`            | Whether the background is locked                                    | Boolean                 | true    |
 
 ### MenuItem Props
 
-| Attribute         | Description                             | Type   | Default           |
-|--------------|----------------------------------|--------|------------------|
-| title         | Item title     | String | 当前选中项文字               |
-| options         | Options     | Array | -                |
-| disabled         | Whether to disable dropdown item     | Boolean | false                |
-| cols         | Display how many options in one line     | Number | 1                |
-| title-icon         | Custome title icon     | String | -                |
-| option-icon `v3.1.22`         | Custome option icon     | String | 'Check'                |
-| direction `v3.1.22`         | Expand direction, can be set to up     | String | 'down'                |
-activeTitleClass | Active custome title class | String | - |
-inactiveTitleClass | Inactive custome title class | String | - |
+| Attribute                     | Description                          | Type    | Default        |
+|-------------------------------|--------------------------------------|---------|----------------|
+| title                         | Item title                           | String  | 当前选中项文字 |
+| options                       | Options                              | Array   | -              |
+| disabled                      | Whether to disable dropdown item     | Boolean | false          |
+| cols                          | Display how many options in one line | Number  | 1              |
+| title-icon                    | Custome title icon                   | String  | -              |
+| option-icon `v3.1.22`         | Custome option icon                  | String  | 'Check'        |
+| direction `v3.1.22`           | Expand direction, can be set to up   | String  | 'down'         |
+| active-title-class `v3.2.0`   | Active custome title class           | String  | -              |
+| inactive-title-class `v3.2.0` | Inactive custome title class         | String  | -              |
 
 
 
 ### MenuItem Events
 
-| Event | Description           | Arguments     |
-|--------|----------------|--------------|
-| change  | Emitted select option changed | Selected value |
+| Event  | Description                   | Arguments      |
+|--------|-------------------------------|----------------|
+| change | Emitted select option changed | Selected value |

+ 21 - 21
src/packages/__VUE/menu/doc.md

@@ -390,30 +390,30 @@ export default {
 
 ### Menu Props
 
-| 参数         | 说明                             | 类型   | 默认值           |
-|--------------|----------------------------------|--------|------------------|
-| active-color         | 选项的选中态图标颜色     | String | #F2270C               |
-| close-on-click-overlay `v3.1.21`        | 是否在点击遮罩层后关闭菜单     | Boolean | true               |
-| scroll-fixed `v3.1.22`        | 滚动后是否固定,可设置固定位置     | Boolean、String、Number | false               |
-| title-class `v3.1.22`        | 自定义标题样式类     | String | -               |
-| lock-scroll `v3.1.22`        | 背景是否锁定     | Boolean | true               |
+| 参数                             | 说明                           | 类型                    | 默认值  |
+|----------------------------------|--------------------------------|-------------------------|---------|
+| active-color                     | 选项的选中态图标颜色           | String                  | #F2270C |
+| close-on-click-overlay `v3.1.21` | 是否在点击遮罩层后关闭菜单     | Boolean                 | true    |
+| scroll-fixed `v3.1.22`           | 滚动后是否固定,可设置固定位置 | Boolean、String、Number | false   |
+| title-class `v3.1.22`            | 自定义标题样式类               | String                  | -       |
+| lock-scroll `v3.1.22`            | 背景是否锁定                   | Boolean                 | true    |
 
 ### MenuItem Props
 
-| 参数         | 说明                             | 类型   | 默认值           |
-|--------------|----------------------------------|--------|------------------|
-| title         | 菜单项标题     | String | 当前选中项文字               |
-| options         | 选项数组     | Array | -                |
-| disabled         | 是否禁用菜单     | Boolean | false                |
-| cols         | 可以设置一行展示多少列 options     | Number | 1                |
-| title-icon         | 自定义标题图标     | String | -                |
-| option-icon `v3.1.22`         | 自定义选项图标     | String | 'Check'                |
-| direction  `v3.1.22`        | 菜单展开方向,可选值为up     | String | 'down'                |
-activeTitleClass | 选项选中时自定义标题样式类 | String | - |
-inactiveTitleClass | 选项非选中时自定义标题样式类 | String | - |
+| 参数                          | 说明                           | 类型    | 默认值         |
+|-------------------------------|--------------------------------|---------|----------------|
+| title                         | 菜单项标题                     | String  | 当前选中项文字 |
+| options                       | 选项数组                       | Array   | -              |
+| disabled                      | 是否禁用菜单                   | Boolean | false          |
+| cols                          | 可以设置一行展示多少列 options | Number  | 1              |
+| title-icon                    | 自定义标题图标                 | String  | -              |
+| option-icon `v3.1.22`         | 自定义选项图标                 | String  | 'Check'        |
+| direction  `v3.1.22`          | 菜单展开方向,可选值为up       | String  | 'down'         |
+| active-title-class `v3.2.0`   | 选项选中时自定义标题样式类     | String  | -              |
+| inactive-title-class `v3.2.0` | 选项非选中时自定义标题样式类   | String  | -              |
 
 ### MenuItem Events
 
-| 事件名 | 说明           | 回调参数     |
-|--------|----------------|--------------|
-| change  | 选择 option 之后触发 | 选择的 value |
+| 事件名 | 说明                 | 回调参数     |
+|--------|----------------------|--------------|
+| change | 选择 option 之后触发 | 选择的 value |