更新 'lib/assets/javascripts/new-dashboard/router/routes/maps.js'

This commit is contained in:
zhongjin 2024-04-09 20:18:49 +08:00
parent 7cc8ccdf69
commit 1617ed9969

View File

@ -11,7 +11,7 @@ const routes = [
path: '/maps/:filter?', path: '/maps/:filter?',
component: Maps, component: Maps,
meta: { meta: {
title: () => 'Maps | CARTO' title: () => '地图 | 快点'
}, },
children: [ children: [
{ {
@ -19,7 +19,7 @@ const routes = [
name: 'maps', name: 'maps',
component: Carto, component: Carto,
meta: { meta: {
title: () => 'Maps | CARTO' title: () => '地图 | 快点'
}, },
beforeEnter: mapsBeforeEnter beforeEnter: mapsBeforeEnter
}, },
@ -28,7 +28,7 @@ const routes = [
name: 'external', name: 'external',
component: External, component: External,
meta: { meta: {
title: () => 'Kepler.gl Maps | CARTO' title: () => 'gl地图 | 快点'
}, },
beforeEnter: externalMapsBeforeEnter beforeEnter: externalMapsBeforeEnter
} }
@ -38,7 +38,7 @@ const routes = [
path: '/maps/external/:filter', path: '/maps/external/:filter',
component: Maps, component: Maps,
meta: { meta: {
title: () => 'Kepler.gl Maps | CARTO' title: () => 'gl地图 | 快点'
}, },
children: [ children: [
{ {
@ -46,7 +46,7 @@ const routes = [
name: 'external_filtered', name: 'external_filtered',
component: External, component: External,
meta: { meta: {
title: () => 'Kepler.gl Maps | CARTO' title: () => 'gl地图 | 快点'
}, },
beforeEnter: externalMapsBeforeEnter beforeEnter: externalMapsBeforeEnter
} }