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] v 2.10.4 的 release版本中存在绝对路径,导致removeChild失败 #760

Closed
ZhangGaozhen opened this issue Jan 14, 2022 · 1 comment · Fixed by #762
Closed

Comments

@ZhangGaozhen
Copy link

ZhangGaozhen commented Jan 14, 2022

🐛 Bug Report

"mavon-editor": "^2.10.4",

编译版本里有 windows 绝对路径?

[Vue warn]: Error in beforeDestroy hook: "NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node."
found in
at D:\work\songwang\yuangongji\mavonEditor\src\mavon-editor.vue
at src/pages/home/activity-report/new-report/index.vue
at src/pages/home/index.vue
at src/pages/index.vue
at src/App.vue

image
image
image

这个有什么解决方案吗 ?

@wangsongc
Copy link
Contributor

发布的版本中存在本地路径这个问题是一个历史问题,可能跟打包有关,但正常使用是没有问题的,也没有类似报错反馈,
关于你这个报错的问题,可否提供一个完整点的demo,方便在修复的时候用来验证。
https://codepen.io/wangsongc/pen/abLPaeo

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 a pull request may close this issue.

2 participants