mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 05:46:08 +08:00
修复系统通知设置bug
This commit is contained in:
parent
d1fb3f4390
commit
d3e61ed880
|
@ -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 ? '通知发送成功' : '通知关闭成功');
|
||||
|
|
Loading…
Reference in New Issue
Block a user