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

[Bug Report]: 2.0版本vue的自定义节点,在缓存组件切换的时候,生成了两份自定义节点 #1768

Closed
121922144 opened this issue Aug 13, 2024 · 2 comments · Fixed by #1895
Assignees
Labels
bug Something isn't working

Comments

@121922144
Copy link

发生了什么?

demo:
vue-cli-vue3-demo.zip

iss 如图,page1和page2共用一个组件,切换的时候缓存组件,审查元素可以看到vue自定义节点变成了两个

logicflow/core版本

2.0.0

logicflow/extension版本

2.0.0

logicflow/engine版本

No response

浏览器&环境

Chrome

@121922144 121922144 added the bug Something isn't working label Aug 13, 2024
@boyongjiong
Copy link
Collaborator

vuejs/core#8509 我一直觉得会不会是 KeepAlive 和 Teleport 一起用的时候会不会有冲突。

我看了你的复现 demo,研究了一下还是没懂为什么会出现这样的问题...

@boyongjiong
Copy link
Collaborator

最近比较忙,没太抽出时间继续研究,如果你有时间,可以帮忙研究一下原因。可以给我们科普一下

wbccb added a commit to wbccb/LogicFlow that referenced this issue Oct 1, 2024
wbccb added a commit to wbccb/LogicFlow that referenced this issue Oct 1, 2024
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
3 participants