mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 11:37:29 +08:00
fix(settings): AccountSettingSystem
- 删除开发残留的敏感 consle.log
This commit is contained in:
@@ -18,7 +18,7 @@ const SystemSettings = ref<any>({
|
|||||||
WALLPAPER: 'tmdb',
|
WALLPAPER: 'tmdb',
|
||||||
PLUGIN_MARKET: '',
|
PLUGIN_MARKET: '',
|
||||||
},
|
},
|
||||||
// 高级系统设置
|
// 高级系统设置
|
||||||
Advanced: {
|
Advanced: {
|
||||||
DEV: false,
|
DEV: false,
|
||||||
DEBUG: false,
|
DEBUG: false,
|
||||||
@@ -94,7 +94,6 @@ async function loadSystemSettings() {
|
|||||||
|
|
||||||
// 调用API保存设置
|
// 调用API保存设置
|
||||||
async function saveSystemSetting(value: { [key: string]: any }) {
|
async function saveSystemSetting(value: { [key: string]: any }) {
|
||||||
console.log(`正在保存设置:${JSON.stringify(value)}`)
|
|
||||||
try {
|
try {
|
||||||
const result: { [key: string]: any } = await api.post('system/env', value)
|
const result: { [key: string]: any } = await api.post('system/env', value)
|
||||||
|
|
||||||
@@ -134,7 +133,6 @@ function saveAdvancedSettings(Settings: any, key: string) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$toast.info('高级设置已更改,待保存后生效')
|
$toast.info('高级设置已更改,待保存后生效')
|
||||||
console.log(`保存后的SystemSettings:${JSON.stringify(SystemSettings.value[key])}`)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 快捷复制到剪贴板
|
// 快捷复制到剪贴板
|
||||||
|
|||||||
Reference in New Issue
Block a user