路由地址
This commit is contained in:
parent
9194312129
commit
2c4553028b
|
|
@ -2,6 +2,7 @@ import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
|
||||||
import test from './module/test'
|
import test from './module/test'
|
||||||
import myInfo from './module/myInfo'
|
import myInfo from './module/myInfo'
|
||||||
const routes: Array<RouteRecordRaw> = [
|
const routes: Array<RouteRecordRaw> = [
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/echarts',
|
path: '/echarts',
|
||||||
name: 'echartsScreen',
|
name: 'echartsScreen',
|
||||||
|
|
@ -10,6 +11,14 @@ const routes: Array<RouteRecordRaw> = [
|
||||||
icon: '',
|
icon: '',
|
||||||
},
|
},
|
||||||
component: () => import('views/echarts/index.vue'),
|
component: () => import('views/echarts/index.vue'),
|
||||||
|
},{
|
||||||
|
path: '/',
|
||||||
|
name: 'index',
|
||||||
|
meta: {
|
||||||
|
title: '',
|
||||||
|
icon: '',
|
||||||
|
},
|
||||||
|
component: () => import('views/Index.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/screen/sharePlatform',
|
path: '/screen/sharePlatform',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue