feat:内存监控开关

This commit is contained in:
jxxghp
2025-06-06 13:50:09 +08:00
parent adc718b751
commit 6b9a8ed108
4 changed files with 15 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ const SystemSettings = ref<any>({
SUBSCRIBE_STATISTIC_SHARE: true,
PLUGIN_STATISTIC_SHARE: true,
BIG_MEMORY_MODE: false,
MEMORY_MONITOR_ENABLE: false,
DB_WAL_ENABLE: false,
AUTO_UPDATE_RESOURCE: true,
MOVIEPILOT_AUTO_UPDATE: false,
@@ -722,6 +723,14 @@ onDeactivated(() => {
persistent-hint
/>
</VCol>
<VCol cols="12" md="6">
<VSwitch
v-model="SystemSettings.Advanced.MEMORY_MONITOR_ENABLE"
:label="t('setting.system.memoryMonitorEnable')"
:hint="t('setting.system.memoryMonitorEnableHint')"
persistent-hint
/>
</VCol>
<VCol cols="12" md="6">
<VSwitch
v-model="SystemSettings.Advanced.DB_WAL_ENABLE"