cnryb commented on issue #617: v 0.24.0 - iOS (inspector 0.24.0)调试,无法显示js文件,以及预览(debug,can't display js file and preview) URL: https://github.com/apache/incubator-weex-cli/issues/617#issuecomment-596453424 chrome v80 之后不支持 document.registerElement() 了。可以先降级 chrome 版本来使用这个功能。 如果有时间的话,也请你帮忙修复一下。 出问题的代码在 https://github.com/apache/incubator-weex-cli/blob/master/packages/%40weex/plugins/debug/frontend/src/assets/inspector/ui/UIUtils.js#L1175 有两个方案供你参考 1、按照现行 [ChromeDevTools frontend](https://github.com/ChromeDevTools/devtools-frontend/blob/master/front_end/ui/utils/register-custom-element.js) 版本同步修改。 2、尝试 polyfill 。
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
