mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-31 21:30:33 +08:00
fix bugs
This commit is contained in:
@@ -21,7 +21,10 @@ const loadNotificationSwitchs = async () => {
|
||||
// 调用API保存消息开关
|
||||
const saveNotificationSwitchs = async () => {
|
||||
try {
|
||||
const result: { [key: string]: any } = await api.post("message/switchs", messagemTypes.value);
|
||||
const result: { [key: string]: any } = await api.post(
|
||||
"message/switchs",
|
||||
messagemTypes.value
|
||||
);
|
||||
if (result.success) {
|
||||
$toast.success("保存通知消息设置成功");
|
||||
} else {
|
||||
@@ -74,7 +77,7 @@ onMounted(() => {
|
||||
<VDivider />
|
||||
|
||||
<VCardText>
|
||||
<VForm @submit.prevent="() => { }">
|
||||
<VForm @submit.prevent="() => {}">
|
||||
<div class="d-flex flex-wrap gap-4 mt-4">
|
||||
<VBtn mtype="submit" @click="saveNotificationSwitchs"> 保存 </VBtn>
|
||||
</div>
|
||||
|
||||
@@ -100,8 +100,8 @@ onMounted(() => {
|
||||
<template>
|
||||
<VRow>
|
||||
<VCol cols="12">
|
||||
<VCard title="搜索站点">
|
||||
<VCardSubtitle> 只有选中的站点才会在搜索中使用 </VCardSubtitle>
|
||||
<VCard title="索引站点">
|
||||
<VCardSubtitle> 只有选中的站点才会在搜索和订阅中使用 </VCardSubtitle>
|
||||
|
||||
<VCardItem>
|
||||
<VChipGroup v-model="selectedSites" column multiple>
|
||||
|
||||
Reference in New Issue
Block a user