Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

Conversation

@rodickmini
Copy link

添加请求头配置option

@PeakTai
Copy link
Owner

PeakTai commented Mar 14, 2017

这段代码eslint校验不能通过,for-in默认是不允许的,因为会枚举原型链上的属性,可以使用Object.keys()来遍历,另外config.requestHeader需要判断下.

你可以在修改代码后,执行下npm run lint检查一下.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants