From 2c4553028bffa801d1cde81396062d15e5d0cbab Mon Sep 17 00:00:00 2001 From: 13218645326 Date: Fri, 8 Dec 2023 18:17:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/router/index.ts b/src/router/index.ts index f7f7755..8ec9905 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -2,6 +2,7 @@ import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router' import test from './module/test' import myInfo from './module/myInfo' const routes: Array = [ + { path: '/echarts', name: 'echartsScreen', @@ -10,6 +11,14 @@ const routes: Array = [ icon: '', }, component: () => import('views/echarts/index.vue'), + },{ + path: '/', + name: 'index', + meta: { + title: '', + icon: '', + }, + component: () => import('views/Index.vue'), }, { path: '/screen/sharePlatform',