From 0858ec4cba224248c38f6f466ce00c657495cf11 Mon Sep 17 00:00:00 2001 From: Ocetars Date: Tue, 2 Dec 2025 20:56:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=95=8C=E9=9D=A2=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../full/vertical-sidebar/sidebarItem.ts | 5 + dashboard/src/router/MainRoutes.ts | 5 + dashboard/src/views/CommandPage.vue | 539 ++++++++++++++++++ 3 files changed, 549 insertions(+) create mode 100644 dashboard/src/views/CommandPage.vue diff --git a/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts b/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts index 42f763402..e173583d1 100644 --- a/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +++ b/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts @@ -43,6 +43,11 @@ const sidebarItem: menu[] = [ icon: 'mdi-puzzle', to: '/extension' }, + { + title: 'core.navigation.commands', + icon: 'mdi-console-line', + to: '/commands' + }, { title: 'core.navigation.knowledgeBase', icon: 'mdi-book-open-variant', diff --git a/dashboard/src/router/MainRoutes.ts b/dashboard/src/router/MainRoutes.ts index 276d37444..e21b383c6 100644 --- a/dashboard/src/router/MainRoutes.ts +++ b/dashboard/src/router/MainRoutes.ts @@ -16,6 +16,11 @@ const MainRoutes = { path: '/extension', component: () => import('@/views/ExtensionPage.vue') }, + { + name: 'Commands', + path: '/commands', + component: () => import('@/views/CommandPage.vue') + }, { name: 'ExtensionMarketplace', path: '/extension-marketplace', diff --git a/dashboard/src/views/CommandPage.vue b/dashboard/src/views/CommandPage.vue new file mode 100644 index 000000000..6b4b92f86 --- /dev/null +++ b/dashboard/src/views/CommandPage.vue @@ -0,0 +1,539 @@ + + + + +