DESKTOP-2IO5MST\huting 2 lat temu
rodzic
commit
2a0f4e51ea
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      utils/network/request.js

+ 2
- 2
utils/network/request.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz