xing-weapp-editor icon indicating copy to clipboard operation
xing-weapp-editor copied to clipboard

有个报错

Open kaixinhaha1234 opened this issue 5 years ago • 1 comments

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)

kaixinhaha1234 avatar Mar 21 '19 02:03 kaixinhaha1234

应该是传入的node参数不是数组,我做一下容错

ianho avatar Mar 31 '19 10:03 ianho