Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:修复当loadData执行时赋值给item.children为空数组时,无法选中的bug #6657

Open
wants to merge 1 commit into
base: 2.0
Choose a base branch
from

Conversation

syx-w
Copy link

@syx-w syx-w commented Nov 5, 2022

loadData加载出数据之后请将loading属性给删除掉,否则如果加载的children为空数组的时候,会出现当前选项还是个箭头,无法选中的情况,
复现地址:https://codesandbox.io/embed/vue2-vue-js-example-with-cdn-forked-x7hv5h?fontsize=14&hidenavigation=1&theme=dark
image
加载完“北京”的选项,由于children数组为空,会出现“北京”选项无法选中的情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant