spencer1994/mpvue-cli

flyio封装请求函数报错

Closed this issue · 4 comments

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 啊不好意思,字段复制错了。把两个项目搞混了,将_tipConfig改成tipConfig就好了。

ok

@douhaoi 我修改了,麻烦你自己改一下了。