提交 999924ce 编写于 作者: fxy060608's avatar fxy060608

chore(v3): lint

上级 3828914c
......@@ -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.
先完成此消息的编辑!
想要评论请 注册