feat(Cascader): add events

This commit is contained in:
chenjiahan
2020-12-20 21:23:50 +08:00
committed by neverland
parent 3f429142ac
commit 95cae6021c
3 changed files with 73 additions and 41 deletions
+5 -4
View File
@@ -48,10 +48,11 @@ export default {
### Events
| 事件 | 说明 | 回调参数 |
| ------- | ---------------- | -------- |
| change | 选中项变化时触发 | - |
| confirm | 确认选择时触发 | - |
| 事件 | 说明 | 回调参数 |
| ------ | ---------------------- | -------------------------------------- |
| change | 选中项变化时触发 | `{ value, selectedOptions, tabIndex }` |
| finish | 全部选项选择完成后触发 | `{ value, selectedOptions, tabIndex }` |
| close | 点击关闭图标时触发 | - |
### Slots