@@ -34,7 +34,7 @@ export function request(code, options = {}) { | |||
if (options.baseUrl) { | |||
options.url = options.baseUrl | |||
} | |||
//默认json数据格式提交 | |||
//默认json数据格式提交` | |||
let contentType = 'application/x-www-form-urlencoded' | |||
//根据type判断数据传输格式 | |||
if (options.type && options.type === 2) { | |||
@@ -84,7 +84,7 @@ export function request(code, options = {}) { | |||
} | |||
} | |||
}); | |||
}else { | |||
} else { | |||
wx.showModal({ | |||
title: '提示', | |||
content: res.data.errorMsg, |