flyio封装请求函数报错
Closed this issue · 4 comments
douhaoi commented
error in ./src/store/flyio/request.js
✘ http://eslint.org/docs/rules/no-undef '_tipConfig' is not defined
src\store\flyio\request.js:52:42
setTimeout(() => { errorFunction( _tipConfig, res) }, 0)
^
✘ http://eslint.org/docs/rules/no-undef '_tipConfig' is not defined
src\store\flyio\request.js:55:40
setTimeout(() => { errorFunction(_tipConfig, err) }, 0)
douhaoi commented
删除那个参数就没问题了
spencer1994 commented
@douhaoi 啊不好意思,字段复制错了。把两个项目搞混了,将_tipConfig改成tipConfig就好了。
douhaoi commented
ok
spencer1994 commented
@douhaoi 我修改了,麻烦你自己改一下了。