DESKTOP-2IO5MST\huting hace 2 años
padre
commit
2a0f4e51ea
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      utils/network/request.js

+ 2
- 2
utils/network/request.js Ver fichero

@@ -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,

Cargando…
Cancelar
Guardar