ElemeFE / ElemeFE/element

[Bug Report] Cascader getCheckedNodes 在搜索后,在触发的change事件中无法获取到选中的节点

Open
#18,202 7 comments 3 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.9.2

### OS/Browsers version
window10 chrome

### Vue version
2.6.10

### Reproduction Link
https://jsfiddle.net/robinwpzan/4tqvpcu7/4/

### Steps to reproduce
搜索,选择一个节点,在change事件中,getCheckedNodes 方法获取选中的节点。
结果打印出选中的节点是空。
需要在this.$nextTick中调用getCheckedNodes 方法才能获取到节点信息

### What is Expected?
能获取到当前选中的节点

### What is actually happening?
不能获取到当前选中的节点

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.