mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
feat: 在保存通知发送时间后添加系统重载功能
This commit is contained in:
@@ -129,6 +129,7 @@ async function saveNotificationTime() {
|
|||||||
const result: { [key: string]: any } = await api.post('system/setting/NotificationSendTime', notificationTime.value)
|
const result: { [key: string]: any } = await api.post('system/setting/NotificationSendTime', notificationTime.value)
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
$toast.success('通知发送时间保存成功')
|
$toast.success('通知发送时间保存成功')
|
||||||
|
await reloadSystem()
|
||||||
} else $toast.error('通知发送时间保存失败!')
|
} else $toast.error('通知发送时间保存失败!')
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error)
|
console.log(error)
|
||||||
|
|||||||
Reference in New Issue
Block a user