wenshan
wenshan
package.json 的依赖: "dva": "^1.4.0-beta.1", "roadhog": "^0.6.0" 这两个依赖过老,尤其dva版本使用的API和新版很多不一致的地方,更新dva 2.1.0后项目没法跑起来,在dva使用上已经没有参考价值了,roadhog可以根据文档升级解决,请及时更新,谢谢。
I couldn't find the corresponding entry in [support console] and couldn't start, so I'm still here to ask for help. I use [email protected] in my node project, the code is...
正常流程是 fetch response.then 的方法,在 request.interceptors.response 拦截器,拦截器处理完数据直接 抛给业务使用了。 反而 request.interceptors.response执行后 必须 return response 执行才行,如果数据处理后 执行 fetch response.then 就报错了,那么拦截器的 作用 不能作为数据处理的环节 导出期望的数据结构, 拦截器就没有意义了。
bug
Code example error, please follow up. ``` var image = { path: '/Users/hou/work/images-upload-data/test-img/bfk2.jpg', width: 500, height: 500 }; var output = { versions: [{ suffix: '-thumb', maxHeight: 150, maxWidth: 150,...