1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

fix: 修改 Xpack 路由路径 (#4317)

This commit is contained in:
ssongliu 2024-03-26 17:40:07 +08:00 committed by GitHub
parent 306082d625
commit 8013c7fd96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
import { Layout } from '@/routers/constant';
let modules = import.meta.globEager('./modules/*.ts');
const xpackModules = import.meta.globEager('../xpack/frontend/routers/*.ts');
const xpackModules = import.meta.globEager('../xpack/routers/*.ts');
modules = { ...modules, ...xpackModules };
const homeRouter: RouteRecordRaw = {