提交 c1e14206 编写于 作者: Q qiang

fix: lint

上级 63e22848
......@@ -31,7 +31,7 @@ export function createRequestTaskById (requestTaskId, {
hasContentType = true
headers['Content-Type'] = header[name]
// TODO 需要重构
if(method === 'POST' && header[name].indexOf('application/x-www-form-urlencoded') === 0) {
if (method === 'POST' && header[name].indexOf('application/x-www-form-urlencoded') === 0) {
let bodyArray = []
for (let key in data) {
if (data.hasOwnProperty(key)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册