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

在drawer中使用tree树形组件的搜索功能时,输入框存在搜索内容时关闭drawer后再打开时报错 #4134

Closed
maddenBoy opened this issue Dec 3, 2022 · 0 comments · Fixed by #4169
Labels
bug Something isn't working

Comments

@maddenBoy
Copy link

TuSimple/naive-ui version (版本)

2.34.2

Vue version (Vue 版本)

3.2.45

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

Chrome(108.0.5359.95)

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

window(11)

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/sharp-sinoussi-c489j0?file=/src/Demo.vue:36-42

Reappearance steps (重现步骤)

1、把tree树形组件的搜索demo放入drawer中使用
2、搜索输入框随便输入值,关闭drawer,再重新打开drawer

Expected results (期望的结果)

在drawer中使用tree树形组件的搜索功能时输入框存在值时关闭drawer再打开时可正常加载tree组件

Actual results (实际的结果)

在drawer中使用tree树形组件的搜索功能时输入框存在值时关闭drawer再打开时无法正常加载tree组件

Remarks (补充说明)

image

@github-actions github-actions bot added the untriaged need to sort label Dec 3, 2022
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Dec 11, 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

Successfully merging a pull request may close this issue.

2 participants