weex-toolkit生成的代码中,weex playground还是能看到hello world的,加入接口后,没报错,页面也能展示列表内容,可是weex playground就一片空白,然后我把页面换到最原始的hello world竟然也一片空白,网上相关的资料太少了,说是本地服务器远程服务器什么什么的问题,有遇到类似问题的吗?需要什么相关内容我后续贴出。
weex-devtool显示的报错信息
[undefined:344:31] ReferenceError: Can't find variable: document
addStyle
addStylesToDom
exports
__webpack_require__
__webpack_require__
__webpack_require__
__webpack_require__
anonymous
a@main.js:4:16690
main.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)
}
}
哔哔one
桃花长相依