weex-toolkit生成的代码中,weex playground还是能看到hello world的,加入接口后,没报错,页面也能展示列表内容,可是weex playground就一片空白,然后我把页面换到最原始的hello world竟然也一片空白,网上相关的资料太少了,说是本地服务器远程服务器什么什么的问题,有遇到类似问题的吗?需要什么相关内容我后续贴出。weex-devtool显示的报错信息[undefined:344:31] ReferenceError: Can't find variable: documentaddStyleaddStylesToDomexports__webpack_require____webpack_require____webpack_require____webpack_require__anonymousa@main.js:4:16690main.js:7:8740定位代码function addStyle (obj /* StyleObjectPart */) { var update, remove var styleElement = document.querySelector('style[data-vue-ssr-id~="' + obj.id + '"]') if (styleElement) { if (isProduction) { return noop } else { styleElement.parentNode.removeChild(styleElement) } }
- 2 回答
- 0 关注
- 1249 浏览
添加回答
举报
0/150
提交
取消