Procházet zdrojové kódy

Docs: update Cascader doc (#12074)

hetech před 7 roky
rodič
revize
43f83128cd
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      examples/docs/en-US/cascader.md
  2. 1 1
      examples/docs/es/cascader.md

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

@@ -1694,6 +1694,6 @@ Search and select options with a keyword.
 | Event Name | Description | Parameters |
 |---------- |-------- |---------- |
 | change  | triggers when the binding value changes | value |
-| active-item-change | triggers when active option changes, only works when `change-on-select` is `false` | an array of active options |
+| active-item-change | triggers when active option of its parent changes, only works when `change-on-select` is `false` | an array of active options |
 | blur | triggers when Cascader blurs | (event: Event) |
 | focus | triggers when Cascader focuses | (event: Event) |

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

@@ -1699,7 +1699,7 @@ Buscar y seleccionar opciones con una palabra clave.
 | Nombre             | Descripción                              | Parametros                |
 | ------------------ | ---------------------------------------- | ------------------------- |
 | change             | se dispara cuando el valor cambia        | valor                     |
-| active-item-change | se dispara cuando cambia la opción activa, sólo funciona cuando `change-on-select` es `false`. | array de opciones activas |
+| active-item-change | triggers when active option of its parent changes, sólo funciona cuando `change-on-select` es `false`. | array de opciones activas |
 | blur               | se dispara cuando Cascader pierde el foco | (event: Event)            |
 | focus              | se dispara cuando Cascader obtiene el foco | (event: Event)            |