Update AccountSettingSite.vue to add option for reading site messages during data refresh

This commit is contained in:
jxxghp
2024-11-12 13:57:59 +08:00
parent 22c97d1c01
commit 249e1c6ebd

View File

@@ -29,6 +29,7 @@ const siteSetting = ref<any>({
},
Site: {
SITEDATA_REFRESH_INTERVAL: 0,
SITE_MESSAGE: false,
},
})
@@ -232,6 +233,16 @@ onMounted(() => {
/>
</VCol>
</VRow>
<VRow>
<VCol cols="12" md="6">
<VSwitch
v-model="siteSetting.Site.SITE_MESSAGE"
label="阅读站点消息"
hint="刷新数据时读取站点消息并发送通知"
persistent-hint
/>
</VCol>
</VRow>
</VForm>
</VCardText>
<VCardText>