diff --git a/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json b/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json index d20508b..7b72bda 100644 --- a/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json +++ b/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json @@ -10,7 +10,7 @@ "DbContexts": { "MasterDbContext": { "DbContextTypeName": "MasterDbContext", - "ConnectionString": "server=nas.youjiala.com;port=3307;database=Furion;uid=root;pwd=Root@1237890;CharSet=utf8mb4;", + "ConnectionString": "server=nas.youjiala.com;port=3307;database=builder;uid=root;pwd=Root@1237890;CharSet=utf8mb4;", "DatabaseType": "MySql", "LazyLoadingProxiesEnabled": true, "AuditEntityEnabled": true, diff --git a/WebVue/src/router/index.ts b/WebVue/src/router/index.ts index 434b251..95bc792 100644 --- a/WebVue/src/router/index.ts +++ b/WebVue/src/router/index.ts @@ -39,17 +39,28 @@ export async function setupRouter(app: App) { meta: { title: "首页", }, + children: [...chs], + }); + // 欢迎页使用独立外壳,不套用后台的侧边菜单 / 顶栏 / 面包屑 + router.addRoute({ + path: "/dashboard", + name: "dashboard", + component: () => import("../layout/home.vue"), + meta: { + title: "首页", + role: "*", + description: "欢迎页", + }, children: [ { - path: "/dashboard", - name: "dashboard", + path: "", + name: "dashboardWelcome", meta: { role: "*", description: "欢迎页", }, component: () => import("../views/dashboard.vue"), }, - ...chs, ], }); } else { diff --git a/WebVue/src/views/dashboard.vue b/WebVue/src/views/dashboard.vue index 06557a4..6230ce7 100644 --- a/WebVue/src/views/dashboard.vue +++ b/WebVue/src/views/dashboard.vue @@ -1,64 +1,174 @@ - + \ No newline at end of file