mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-25 11:29:37 +08:00
update: 完善新后台
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user