Browse Source

fix : fix menu error

pull/3827/head
chen shuai 7 years ago
parent
commit
7a92dcd328
  1. 2
      .eslintrc.js
  2. 42
      config/router.config.js

2
.eslintrc.js

@ -34,6 +34,6 @@ module.exports = {
'linebreak-style': 0,
},
settings: {
polyfills: ['fetch', 'promises', 'url'],
polyfills: ['fetch', 'Promise', 'url', 'object-assign'],
},
};

42
config/router.config.js

@ -265,28 +265,28 @@ export default [
},
],
},
// editor
],
},
// editor
{
name: 'editor',
icon: 'highlight',
path: '/editor',
routes: [
{
name: 'editor',
icon: 'highlight',
path: '/editor',
routes: [
{
path: '/editor/flow',
name: 'flow',
component: './Editor/GGEditor/Flow',
},
{
path: '/editor/mind',
name: 'mind',
component: './Editor/GGEditor/Mind',
},
{
path: '/editor/koni',
name: 'koni',
component: './Editor/GGEditor/Koni',
},
],
path: '/editor/flow',
name: 'flow',
component: './Editor/GGEditor/Flow',
},
{
path: '/editor/mind',
name: 'mind',
component: './Editor/GGEditor/Mind',
},
{
path: '/editor/koni',
name: 'koni',
component: './Editor/GGEditor/Koni',
},
],
},

Loading…
Cancel
Save