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

如何清理vue-pipeline #34

Open
fyan9527 opened this issue Sep 27, 2021 · 1 comment
Open

如何清理vue-pipeline #34

fyan9527 opened this issue Sep 27, 2021 · 1 comment

Comments

@fyan9527
Copy link

当我打开一个弹出框编辑vue-pipeline的时候功能良好。

当我想再次打开弹出框,并且清空上次的数据时,数据清空后,vue-pipeline的图形依然在页面中展示,如何优雅的清理上一次vue-pipeline的图形呢?

@fyan9527
Copy link
Author

我重新打开这个弹出框的时候通过把列表设置成 [], 去不掉vue-pipeline渲染出的dom对象(这个图是根据列表的数据生成的),我上面的意思是我怎么去掉这个dom元素,能给点宝贵的指点么?我是后端开发,前端了解的不是太深。

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

No branches or pull requests

1 participant