From fa3ac93010bea3805438ee3ab0a182bfbf7423da Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期一, 27 五月 2024 16:19:31 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/router/routes/modules/dashboard.ts |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/src/router/routes/modules/dashboard.ts b/src/router/routes/modules/dashboard.ts
new file mode 100644
index 0000000..33d00f8
--- /dev/null
+++ b/src/router/routes/modules/dashboard.ts
@@ -0,0 +1,37 @@
+import type { AppRouteModule } from '/@/router/types'
+
+import { t } from '/@/hooks/web/useI18n'
+import { LAYOUT } from '/@/router/constant'
+
+const dashboard: AppRouteModule = {
+	path: '/dashboard',
+	name: 'Dashboard',
+	component: LAYOUT,
+	redirect: '/dashboard/analysis',
+	meta: {
+		orderNo: 10,
+		icon: 'ion:grid-outline',
+		title: t('routes.dashboard.dashboard'),
+	},
+	children: [
+		{
+			path: 'analysis',
+			name: 'Analysis',
+			component: () => import('/@/views/dashboard/Analysis/index.vue'),
+			meta: {
+				// affix: true,
+				title: t('routes.dashboard.analysis'),
+			},
+		},
+		{
+			path: 'workbench',
+			name: 'Workbench',
+			component: () => import('/@/views/dashboard/workbench/index.vue'),
+			meta: {
+				title: t('routes.dashboard.workbench'),
+			},
+		},
+	],
+}
+
+export default dashboard

--
Gitblit v1.9.3