{{ i18n.ts.clip }}
@@ -66,6 +66,7 @@ import { defaultStore } from '@/store.js';
const props = defineProps<{
noteId: string;
+ initialTab?: string;
}>();
const note = ref
();
diff --git a/packages/frontend/src/router/definition.ts b/packages/frontend/src/router/definition.ts
index cd0f7e91f7..076447ed00 100644
--- a/packages/frontend/src/router/definition.ts
+++ b/packages/frontend/src/router/definition.ts
@@ -35,7 +35,7 @@ const routes: RouteDef[] = [{
component: page(() => import('@/pages/user/index.vue')),
}, {
name: 'note',
- path: '/notes/:noteId',
+ path: '/notes/:noteId/:initialTab?',
component: page(() => import('@/pages/note.vue')),
}, {
name: 'list',