From d3e61ed8808a8734d1b446886de7e54746ff2920 Mon Sep 17 00:00:00 2001 From: yafu Date: Thu, 20 Jul 2023 10:29:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B3=BB=E7=BB=9F=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E8=AE=BE=E7=BD=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/setting/notification.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/setting/notification.tsx b/src/pages/setting/notification.tsx index ceb0a159..09a583ba 100644 --- a/src/pages/setting/notification.tsx +++ b/src/pages/setting/notification.tsx @@ -19,9 +19,7 @@ const NotificationSetting = ({ data }: any) => { } request - .put(`${config.apiPrefix}user/notification`, { - values, - }) + .put(`${config.apiPrefix}user/notification`, values) .then(({ code, data }) => { if (code === 200) { message.success(values.type ? '通知发送成功' : '通知关闭成功');