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

树形表格异步展开树形数据,未展开树形数据的情况下(type='selection')点击复选框报错 #2758

Closed
wei1034937343 opened this issue Apr 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@wei1034937343
Copy link

TuSimple/naive-ui version (版本)

2.27.0

Vue version (Vue 版本)

3.2.31

Browser and its version (浏览器及其版本)

edge

System and its version (系统及其版本)

windows11

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/reverent-dawn-sqs1uo?file=/src/Demo.vue

Reappearance steps (重现步骤)

未展开树形数据的情况下,点击勾选复选框,因为子节点中的数据还未加载,导致报错

Expected results (期望的结果)

不要报错,把当前已经加载好的数据勾选上

Actual results (实际的结果)

页面或控制台报错,勾选无反应

Remarks (补充说明)

image

@github-actions github-actions bot added the untriaged need to sort label Apr 9, 2022
@07akioni
Copy link
Collaborator

07akioni commented Apr 9, 2022

image

设为 false

@07akioni 07akioni closed this as completed Apr 9, 2022
@07akioni 07akioni removed the untriaged need to sort label Apr 9, 2022
@07akioni 07akioni reopened this Apr 9, 2022
@07akioni
Copy link
Collaborator

07akioni commented Apr 9, 2022

是个 bug,cascade 设为 false 也不行

@07akioni 07akioni added the bug Something isn't working label Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants