From b5d3561a2e06106ed9cce2c6bcc9c2463951e998 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期五, 15 十一月 2024 11:06:26 +0800 Subject: [PATCH] 新增申请页面不显示发运通知单的问题修改 --- utils/index.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/index.js b/utils/index.js index a4b5a19..1c6b914 100644 --- a/utils/index.js +++ b/utils/index.js @@ -18,7 +18,7 @@ return fetch(url, opt) } -// get璇锋眰 +// get璇锋眰 // urlParam鏄嫾鎺ヨ矾寰勭殑鍙傛暟 export const reqGet = (url, params, urlParam, opt = {}) => { opt.header = typeObj['headerGET']; @@ -28,7 +28,7 @@ } // post璇锋眰 -export const reqPost = (url, params, form, opt = {}) => { +export const reqPost = (url, params,form, opt = {}) => { if(form == 'form'){ opt.header = {'Content-Type': 'application/x-www-form-urlencoded'} } else { @@ -36,5 +36,6 @@ } opt.method = "POST"; opt.data = params; + opt.params = params; return fetch(url, opt) } -- Gitblit v1.9.1