update: 完善新后台

This commit is contained in:
ctwj
2025-08-08 01:28:25 +08:00
parent 5cfd0ad3ee
commit 667338368a
16 changed files with 1544 additions and 519 deletions

View File

@@ -10,7 +10,7 @@ export const useSystemConfigStore = defineStore('systemConfig', {
async initConfig(force = false) {
if (this.initialized && !force) return
try {
const data = await useApiFetch('/public/system-config').then((res: any) => res.data || res)
const data = await useApiFetch('/system/config').then((res: any) => res.data || res)
this.config = data
this.initialized = true
} catch (e) {