mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
修复系统通知设置
This commit is contained in:
parent
be719b42df
commit
49e88006ce
|
@ -50,9 +50,7 @@ const Initialization = () => {
|
||||||
const submitNotification = (values: any) => {
|
const submitNotification = (values: any) => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
request
|
request
|
||||||
.put(`${config.apiPrefix}user/notification/init`, {
|
.put(`${config.apiPrefix}user/notification/init`, values)
|
||||||
values,
|
|
||||||
})
|
|
||||||
.then(({ code, data }) => {
|
.then(({ code, data }) => {
|
||||||
if (code === 200) {
|
if (code === 200) {
|
||||||
next();
|
next();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user