From 3959e507bfa99cc4ced2a6f48f9b4358334d34c4 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 19 十二月 2023 17:34:45 +0800 Subject: [PATCH] 1. 调试表单选项组件的双向绑定逻辑 --- src/api/fysp/problemApi.js | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/api/fysp/problemApi.js b/src/api/fysp/problemApi.js index 747067c..ce2ba9b 100644 --- a/src/api/fysp/problemApi.js +++ b/src/api/fysp/problemApi.js @@ -9,14 +9,7 @@ * @param {Number} action 0锛氶棶棰橀�氳繃锛�1锛氶棶棰樹笉閫氳繃锛�2锛氭暣鏀归�氳繃锛�3鏁存敼涓嶉�氳繃 */ checkProblem({ pId, action, remark = '', userId = id, userName = name }) { - return $fysp - .post('problemlist/check', { - pId: pId, - action: action, - remark: remark, - userId: userId, - userName: userName, - }) - .then((res) => res.data); + const params = `?pId=${pId}&action=${action}&remark=${remark}&userId=${userId}&userName=${userName}`; + return $fysp.post(`problemlist/check${params}`); }, }; -- Gitblit v1.9.3