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

有个报错 #9

Open
kaixinhaha1234 opened this issue Mar 21, 2019 · 1 comment
Open

有个报错 #9

kaixinhaha1234 opened this issue Mar 21, 2019 · 1 comment

Comments

@kaixinhaha1234
Copy link

thirdScriptError
Cannot read property 'forEach' of undefined; [Component] Lifetime Method Error @ components/xing-editor#attached
TypeError: Cannot read property 'forEach' of undefined
at c.insertNodes (http://127.0.0.1:26121/appservice/components/xing-editor.js:86:15)
at c.insertNodesOrHtml (http://127.0.0.1:26121/appservice/components/xing-editor.js:81:12)
at c.attached (http://127.0.0.1:26121/appservice/components/xing-editor.js:67:10)
at r.safeCallback (http://127.0.0.1:26121/appservice/__dev__/WAService.js:14:15135)
at r.call (http://127.0.0.1:26121/appservice/__dev__/WAService.js:14:14899)
at t (http://127.0.0.1:26121/appservice/__dev__/WAService.js:14:28375)
at t (http://127.0.0.1:26121/appservice/__dev__/WAService.js:14:28688)
at t (http://127.0.0.1:26121/appservice/__dev__/WAService.js:14:28630)
at u (http://127.0.0.1:26121/appservice/__dev__/WAService.js:14:28698)
at Function.s.pretendAttached (http://127.0.0.1:26121/appservice/__dev__/WAService.js:15:6642)

@MinggengSun
Copy link

在js文件里找到forEach,判断nodeList不等于undefined即可

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

2 participants