From 97508016bf23a01b9d51180ff2773a7bbb864f3f Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 24 Nov 2025 14:17:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=8F=82=E6=95=B0=E5=8F=96=E6=B6=88[index]=E5=90=8E?= =?UTF-8?q?=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/task.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/task.js b/api/task.js index 2460969..e3b5a67 100644 --- a/api/task.js +++ b/api/task.js @@ -96,7 +96,7 @@ export const getTaskList = (params = {}) => { if (params.passDateRange !== undefined && Array.isArray(params.passDateRange) && params.passDateRange.length > 0) { params.passDateRange.forEach((date, index) => { if (date) { - queryParams.push(`passDateRange[${index}]=${encodeURIComponent(date)}`); + queryParams.push(`passDateRange=${encodeURIComponent(date)}`); } }); }