From 9cd88345f048913941e05a12059e2e2238f0a754 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期一, 01 四月 2024 22:07:35 +0800
Subject: [PATCH] 更新进度
---
src/utils/request.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index 2af92ce..3295418 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -141,6 +141,7 @@
*/
postJ: function(url, data={}, config={}) {
return new Promise((resolve, reject) => {
+ console.log(qsStringify(data))
axios({
method: 'post',
url: url,
@@ -204,7 +205,7 @@
axios({
method: 'delete',
url: url,
- data: data,
+ params: data,
...config
}).then((response) => {
resolve(response.data);
--
Gitblit v1.9.3