Procházet zdrojové kódy

'2023年5月19日09:30:10'

yxb
wq před 2 roky
rodič
revize
845f7218d5
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      utils/network/request.js

+ 2
- 2
utils/network/request.js Zobrazit soubor

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

Načítá se…
Zrušit
Uložit