From 63eef2ea1873c80e325c9864f341214b0f203adc Mon Sep 17 00:00:00 2001 From: Z Date: Wed, 18 Sep 2019 14:41:09 -0500 Subject: [PATCH] works --- src/router/index.js | 14 ++++++++++++++ src/views/plot/plot.vue | 24 +++++++++++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 29ccf566..6eff2127 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -96,6 +96,20 @@ export const constantRoutes = [ } ] }, + { + path: '/plot', + hidden: true, + component: Layout, + + children: [ + { + path: 'plot', + component: () => import('@/views/plot/plot'), + name: 'plot', + meta: { title: 'plot' } + } + ] + }, { path: '/analyzing', hidden: true, diff --git a/src/views/plot/plot.vue b/src/views/plot/plot.vue index ba90d922..70161f8f 100644 --- a/src/views/plot/plot.vue +++ b/src/views/plot/plot.vue @@ -1,15 +1,21 @@