Alexu
Results
2
issues of
Alexu
开发环境使用的cdn版react 16.2.0(`//s.url.cn/now/lib/16.2.0/react.js`),当项目中有使用``时,在移动端访问页面会报错: ``` Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. ``` 然而此时在pc端并不会报错。如果换成压缩版(`//s.url.cn/now/lib/16.2.0/react.min.js?_bid=3234`),则在移动端访问也不会报错。
比如有两个mocker,使用相同的路由,我禁用了第一个的mock服务,启用第二个的mock服务,预期结果是会走到第二个mocker的桩数据,但实际上总是会返回第一个mocker的桩数据 mockstar是最新的1.3.7