mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:47:28 +08:00
feat(map): added AMap/Baidu/Google Map example close #81
This commit is contained in:
@@ -6,11 +6,37 @@ const menu: MenuModule = {
|
||||
menu: {
|
||||
name: t('routes.demo.charts.charts'),
|
||||
path: '/charts',
|
||||
tag: {
|
||||
content: 'new',
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'aMap',
|
||||
name: t('routes.demo.charts.aMap'),
|
||||
tag: {
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
path: 'baiduMap',
|
||||
name: t('routes.demo.charts.baiduMap'),
|
||||
tag: {
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'googleMap',
|
||||
name: t('routes.demo.charts.googleMap'),
|
||||
tag: {
|
||||
dot: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'apexChart',
|
||||
name: t('routes.demo.charts.apexChart'),
|
||||
},
|
||||
|
||||
{
|
||||
path: 'echarts',
|
||||
name: 'Echarts',
|
||||
|
@@ -13,13 +13,38 @@ const charts: AppRouteModule = {
|
||||
title: t('routes.demo.charts.charts'),
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'baiduMap',
|
||||
name: 'BaiduMap',
|
||||
meta: {
|
||||
title: t('routes.demo.charts.baiduMap'),
|
||||
},
|
||||
component: () => import('/@/views/demo/charts/map/Baidu.vue'),
|
||||
},
|
||||
{
|
||||
path: 'aMap',
|
||||
name: 'AMap',
|
||||
meta: {
|
||||
title: t('routes.demo.charts.aMap'),
|
||||
},
|
||||
component: () => import('/@/views/demo/charts/map/Amap.vue'),
|
||||
},
|
||||
{
|
||||
path: 'googleMap',
|
||||
name: 'GoogleMap',
|
||||
meta: {
|
||||
title: t('routes.demo.charts.googleMap'),
|
||||
},
|
||||
component: () => import('/@/views/demo/charts/map/Google.vue'),
|
||||
},
|
||||
|
||||
{
|
||||
path: 'apexChart',
|
||||
name: 'ApexChart',
|
||||
meta: {
|
||||
title: t('routes.demo.charts.apexChart'),
|
||||
},
|
||||
component: () => import('/@/views/demo/echarts/apex/index.vue'),
|
||||
component: () => import('/@/views/demo/charts/apex/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'echarts',
|
||||
@@ -33,7 +58,7 @@ const charts: AppRouteModule = {
|
||||
{
|
||||
path: 'map',
|
||||
name: 'Map',
|
||||
component: () => import('/@/views/demo/echarts/Map.vue'),
|
||||
component: () => import('/@/views/demo/charts/Map.vue'),
|
||||
meta: {
|
||||
title: t('routes.demo.charts.map'),
|
||||
},
|
||||
@@ -41,7 +66,7 @@ const charts: AppRouteModule = {
|
||||
{
|
||||
path: 'line',
|
||||
name: 'Line',
|
||||
component: () => import('/@/views/demo/echarts/Line.vue'),
|
||||
component: () => import('/@/views/demo/charts/Line.vue'),
|
||||
meta: {
|
||||
title: t('routes.demo.charts.line'),
|
||||
},
|
||||
@@ -49,7 +74,7 @@ const charts: AppRouteModule = {
|
||||
{
|
||||
path: 'pie',
|
||||
name: 'Pie',
|
||||
component: () => import('/@/views/demo/echarts/Pie.vue'),
|
||||
component: () => import('/@/views/demo/charts/Pie.vue'),
|
||||
meta: {
|
||||
title: t('routes.demo.charts.pie'),
|
||||
},
|
||||
|
Reference in New Issue
Block a user