Pārlūkot izejas kodu

[doc]Fix button API documentation

dufu1991 2 gadi atpakaļ
vecāks
revīzija
5c232ed1c9
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 2 2
      doc/components/button/api.md
  2. 1 1
      doc/components/button/api_en.md

+ 2 - 2
doc/components/button/api.md

@@ -7,8 +7,8 @@
 | radius       | String  | 'base'  | 'none'/'base'/'xl'/'2xl'/'full'                                       | N    | 圆角风格。                     |
 | size         | String  | 'big'   | 'full'/'big'/'md'/'sm'/'auto'                                         | N    | 尺寸。                         |
 | line         | String  | 'solid' | 'solid'/'dashed'/'dotted'                                             | N    | 边框风格。                     |
-| heightOut    | String  | '3'     | '0'/'1'/'2'/'3'/'4'                                                   | N    | 按钮外部高度。                 |
-| heightIn     | String  | '2'     | '0'/'1'/'2'/'3'/'4'                                                   | N    | 按钮高度。                     |
+| heightOut    | String  | '2'     | '0'/'1'/'2'/'3'/'4'                                                   | N    | 按钮外部高度。                 |
+| heightIn     | String  | '3'     | '0'/'1'/'2'/'3'/'4'                                                   | N    | 按钮高度。                     |
 | injClass     | String  | ''      | Class                                                                 | N    | 注入 CSS 名称。                |
 | love         | Boolean | false   | true/false                                                            | N    | 是否开启关爱版。               |
 | group        | Boolean | false   | true/false                                                            | N    | 是否使用按钮组。               |

+ 1 - 1
doc/components/button/api_en.md

@@ -8,7 +8,7 @@
 | size         | String  | 'big'         | full/big/md/sm/auto                          | N        | size.                                             |
 | line         | String  | 'solid'       | solid/dashed/dotted                          | N        | border style.                                     |
 | heightOut    | String  | '2'           | '0'/'1'/'2'/'4'                              | N        | Button outer height.                              |
-| heightIn     | String  | '2'           | '0'/'1'/'2'/'4'                              | N        | Button height.                                    |
+| heightIn     | String  | '3'           | '0'/'1'/'2'/'4'                              | N        | Button height.                                    |
 | injClass     | String  | ''            | Class                                        | N        | Inject CSS name.                                  |
 | love         | Boolean | false         | true/false                                   | N        | Whether to open the love version.                 |
 | group        | Boolean | false         | true/false                                   | N        | Whether to use a button group.                    |