Chg: MikroORMのinfoログをLoggerでもINFOとして扱うように / Chg: MikroORMのdiscoveryログをLoggerでINFOとして扱うように / New: 左側メニューにtitle属性を追加 / Del: 最上位RouterViewのkey / Fix: .route-mainのflex-directionがcolumn出ない問題 / Fix: .route-mainの高さ指定がmin-heightである問題 / Feat: コミュニティのページでチャンネルが表示できるように / Feat: チャンネルページ

This commit is contained in:
2026-05-24 17:04:11 +09:00
parent 1ca0cbf3bf
commit beb0e25ad9
7 changed files with 300 additions and 15 deletions
+21 -1
View File
@@ -47,11 +47,23 @@ const router = createRouter({
component: () => import("@/routes/signin.vue"),
},
{
path: "/community/:id",
path: "/community/:communityId",
meta: {
title: "コミュニティ",
isFullRoute: true,
canReloadTitle: false,
},
component: () => import("@/routes/community/index.vue"),
children: [
{
path: "",
component: () => import("@/routes/community/index.inner.vue"),
},
{
path: ":channelId",
component: () => import("@/routes/community/channel.vue"),
},
],
},
{
path: "/:NotFound(.*)*",
@@ -75,6 +87,14 @@ router.afterEach((to, from) => {
return false;
}
if (
to.matched[0]?.path === from.matched[0]?.path &&
from.meta.canReloadTitle === false
) {
routerStatus.isLoad = false;
return false;
}
const title = to.meta.title;
let serverName = "LynqChat";