fix: categories

This commit is contained in:
2026-04-01 09:10:38 +02:00
parent a2a2c35ab3
commit 30eb82ba53
10 changed files with 84 additions and 231 deletions

View File

@@ -59,7 +59,6 @@ async function setRoutes() {
const componentName = item.component
const [, folder] = componentName.split('/')
const componentPath = `/src${componentName}`
console.log(componentPath);
let modules =

View File

@@ -5,7 +5,6 @@ import { settings } from "./settings";
const categoryId = ref()
export const getMenu = async () => {
if(!categoryId.value){
categoryId.value = settings['app'].category_tree_root_id

View File

@@ -8,6 +8,4 @@ export const settings = reactive({} as Settings)
export async function getSettings() {
const { items } = await useFetchJson<Resp<Settings>>('/api/v1/settings',)
Object.assign(settings, items)
console.log(settings['app'])
}