From 05b5c1f397bad8fb53a73ffe55209f573d309f4e Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期四, 22 十二月 2022 00:25:30 +0800 Subject: [PATCH] 日发运计划接口同步后台更新。完善页面细节 --- utils/index.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/utils/index.js b/utils/index.js index f9f1910..1c6b914 100644 --- a/utils/index.js +++ b/utils/index.js @@ -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