Bläddra i källkod

Docs: update cascader docs (#14442)

潘何增 6 år sedan
förälder
incheckning
cd567ecb68

+ 1 - 2
examples/docs/en-US/cascader.md

@@ -1386,10 +1386,9 @@ Search and select options with a keyword.
 ### Attributes
 | Attribute | Description         | Type    | Options       | Default|
 |---------- |-------------------- |---------|-------------  |-------- |
-| value / v-model | binding value  | boolean / string / number | — | — |
+| value / v-model | binding value  | array | — | — |
 | options   | data of the options | array | — | — |
 | props | configuration options, see the following table | object | — | — |
-| value | selected value | array | — | — |
 | separator | option separator | string | — | / |
 | popper-class | custom class name for Cascader's dropdown | string | — | — |
 | placeholder | input placeholder | string | — | Select |

+ 1 - 2
examples/docs/es/cascader.md

@@ -1392,10 +1392,9 @@ Buscar y seleccionar opciones con una palabra clave.
 ### Atributos
 | Atributo         | Descripción                              | Tipo            | Opciones              | Por defecto |
 | ---------------- | ---------------------------------------- | --------------- | --------------------- | ----------- |
-| value / v-model   | valor enlazado                           | boolean / string / number | —                     | —           |
+| value / v-model   | valor seleccionado                           | array | —                     | —           |
 | options          | datos de las opciones                    | array           | —                     | —           |
 | props            | opciones de configuracion,  mire la tabla siguiente | object          | —                     | —           |
-| value            | valor seleccionado                       | array           | —                     | —           |
 | popper-class     | nombre de clase para el Cascader's dropdown | string          | —                     | —           |
 | placeholder      | input placeholder                        | string          | —                     | Select      |
 | disabled         | si Cascader esta disabled                | boolean         | —                     | false       |

+ 1 - 2
examples/docs/fr-FR/cascader.md

@@ -1386,10 +1386,9 @@ Recherchez une option particulière en entrant des mots-clé.
 ### Attributs
 | Attribut | Description         | Type    | Options       | Défaut|
 |---------- |-------------------- |---------|-------------  |-------- |
-| value / v-model | La valeur liée.  | boolean / string / number | — | — |
+| value / v-model | Valeur sélectionnée. | array | — | — |
 | options   | Données des options. | array | — | — |
 | props | Options de configuration, voir la table suivante. | object | — | — |
-| value | Valeur sélectionnée. | array | — | — |
 | separator | Séparateur des options. | string | — | / |
 | popper-class | Classe personnalisée pour le menu déroulant du Cascader | string | — | — |
 | placeholder | Placeholder du champ. | string | — | Select |

+ 1 - 2
examples/docs/zh-CN/cascader.md

@@ -1386,10 +1386,9 @@
 ### Attributes
 | 参数      | 说明    | 类型      | 可选值       | 默认值   |
 |---------- |-------- |---------- |-------------  |-------- |
-| value / v-model | 绑定值 | boolean / string / number | — | — |
+| value / v-model | 选中项绑定值 | array | — | — |
 | options | 可选项数据源,键名可通过 `props` 属性配置 | array | — | — |
 | props | 配置选项,具体见下表 | object | — | — |
-| value | 选中项绑定值   | array | — | — |
 | separator | 选项分隔符 | string | — | 斜杠'/' |
 | popper-class | 自定义浮层类名   | string | —  | — |
 | placeholder | 输入框占位文本 | string | — | 请选择 |