mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(select): fix typo (#579)
This commit is contained in:
parent
b4049466b7
commit
e3d0740fef
@ -1,6 +1,6 @@
|
|||||||
# Select & Routing
|
# Select & Routing
|
||||||
|
|
||||||
Use `@update:value` to listen to the select action of the menu. The firt argument of the callback is the `key` of the selected menu item. The second is the orginal data of the menu item.
|
Use `@update:value` to listen to the select action of the menu. The first argument of the callback is the `key` of the selected menu item. The second is the orginal data of the menu item.
|
||||||
|
|
||||||
Usually you can use vue-router here to accomplish routing. Also, you can render `label` as `<router-link />` or `<a />` to set route.
|
Usually you can use vue-router here to accomplish routing. Also, you can render `label` as `<router-link />` or `<a />` to set route.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user