mirror of https://github.com/ElemeFE/element
Docs: update cascader docs (#14442)
parent
be187a99cc
commit
cd567ecb68
|
@ -1386,10 +1386,9 @@ Search and select options with a keyword.
|
||||||
### Attributes
|
### Attributes
|
||||||
| Attribute | Description | Type | Options | Default|
|
| 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 | — | — |
|
| options | data of the options | array | — | — |
|
||||||
| props | configuration options, see the following table | object | — | — |
|
| props | configuration options, see the following table | object | — | — |
|
||||||
| value | selected value | array | — | — |
|
|
||||||
| separator | option separator | string | — | / |
|
| separator | option separator | string | — | / |
|
||||||
| popper-class | custom class name for Cascader's dropdown | string | — | — |
|
| popper-class | custom class name for Cascader's dropdown | string | — | — |
|
||||||
| placeholder | input placeholder | string | — | Select |
|
| placeholder | input placeholder | string | — | Select |
|
||||||
|
|
|
@ -1392,10 +1392,9 @@ Buscar y seleccionar opciones con una palabra clave.
|
||||||
### Atributos
|
### Atributos
|
||||||
| Atributo | Descripción | Tipo | Opciones | Por defecto |
|
| 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 | — | — |
|
| options | datos de las opciones | array | — | — |
|
||||||
| props | opciones de configuracion, mire la tabla siguiente | object | — | — |
|
| props | opciones de configuracion, mire la tabla siguiente | object | — | — |
|
||||||
| value | valor seleccionado | array | — | — |
|
|
||||||
| popper-class | nombre de clase para el Cascader's dropdown | string | — | — |
|
| popper-class | nombre de clase para el Cascader's dropdown | string | — | — |
|
||||||
| placeholder | input placeholder | string | — | Select |
|
| placeholder | input placeholder | string | — | Select |
|
||||||
| disabled | si Cascader esta disabled | boolean | — | false |
|
| disabled | si Cascader esta disabled | boolean | — | false |
|
||||||
|
|
|
@ -1386,10 +1386,9 @@ Recherchez une option particulière en entrant des mots-clé.
|
||||||
### Attributs
|
### Attributs
|
||||||
| Attribut | Description | Type | Options | Défaut|
|
| 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 | — | — |
|
| options | Données des options. | array | — | — |
|
||||||
| props | Options de configuration, voir la table suivante. | object | — | — |
|
| props | Options de configuration, voir la table suivante. | object | — | — |
|
||||||
| value | Valeur sélectionnée. | array | — | — |
|
|
||||||
| separator | Séparateur des options. | string | — | / |
|
| separator | Séparateur des options. | string | — | / |
|
||||||
| popper-class | Classe personnalisée pour le menu déroulant du Cascader | string | — | — |
|
| popper-class | Classe personnalisée pour le menu déroulant du Cascader | string | — | — |
|
||||||
| placeholder | Placeholder du champ. | string | — | Select |
|
| placeholder | Placeholder du champ. | string | — | Select |
|
||||||
|
|
|
@ -1386,10 +1386,9 @@
|
||||||
### Attributes
|
### Attributes
|
||||||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||||
|---------- |-------- |---------- |------------- |-------- |
|
|---------- |-------- |---------- |------------- |-------- |
|
||||||
| value / v-model | 绑定值 | boolean / string / number | — | — |
|
| value / v-model | 选中项绑定值 | array | — | — |
|
||||||
| options | 可选项数据源,键名可通过 `props` 属性配置 | array | — | — |
|
| options | 可选项数据源,键名可通过 `props` 属性配置 | array | — | — |
|
||||||
| props | 配置选项,具体见下表 | object | — | — |
|
| props | 配置选项,具体见下表 | object | — | — |
|
||||||
| value | 选中项绑定值 | array | — | — |
|
|
||||||
| separator | 选项分隔符 | string | — | 斜杠'/' |
|
| separator | 选项分隔符 | string | — | 斜杠'/' |
|
||||||
| popper-class | 自定义浮层类名 | string | — | — |
|
| popper-class | 自定义浮层类名 | string | — | — |
|
||||||
| placeholder | 输入框占位文本 | string | — | 请选择 |
|
| placeholder | 输入框占位文本 | string | — | 请选择 |
|
||||||
|
|
Loading…
Reference in New Issue