mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-12 16:01:35 +08:00
支持更多订阅自定义属性
This commit is contained in:
@@ -114,10 +114,8 @@ function changeTheme(theme: string) {
|
||||
currentThemeName.value = nextTheme
|
||||
// 保存主题到服务端
|
||||
try {
|
||||
api.post('/user/config/theme', nextTheme, {
|
||||
headers: {
|
||||
'Content-Type': 'text/plain',
|
||||
},
|
||||
api.post('/user/config/Layout', {
|
||||
theme: nextTheme
|
||||
})
|
||||
} catch (e) {
|
||||
console.error('保存主题到服务端失败')
|
||||
|
||||
Reference in New Issue
Block a user