瀏覽代碼

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

yxb
wq 2 年之前
父節點
當前提交
845f7218d5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      utils/network/request.js

+ 2
- 2
utils/network/request.js 查看文件

@@ -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…
取消
儲存