refactor: 适配系统参数 API 新的使用方式

This commit is contained in:
2024-05-28 23:12:24 +08:00
parent 45cbabf545
commit 1909b6e907
4 changed files with 8 additions and 6 deletions

View File

@@ -59,7 +59,7 @@ const storeSetup = () => {
// 初始化系统配置
const initSiteConfig = () => {
listOptionDict({
code: ['SITE_FAVICON', 'SITE_LOGO', 'SITE_TITLE', 'SITE_COPYRIGHT']
category: 'SITE'
}).then((res) => {
const resMap = new Map()
res.data.forEach((item) => {