Kaynağa Gözat

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

yxb
wq 2 yıl önce
ebeveyn
işleme
845f7218d5
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      utils/network/request.js

+ 2
- 2
utils/network/request.js Dosyayı Görüntüle

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

Loading…
İptal
Kaydet