支持更多订阅自定义属性

This commit is contained in:
jxxghp
2024-10-09 15:20:25 +08:00
parent 5577e4cf62
commit b639369846
5 changed files with 218 additions and 147 deletions

View File

@@ -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('保存主题到服务端失败')