支持更多订阅自定义属性

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

@@ -92,9 +92,9 @@ const fetchOTP = debounce(async () => {
// 获取用户主题配置
async function fetchThemeConfig() {
const response = await api.get('/user/config/theme')
const response = await api.get('/user/config/Layout')
if (response && response.data && response.data.value) {
return response.data.value
return response.data.value?.theme
}
return null
}