Commit 7a92dcd3 authored by chen shuai's avatar chen shuai

fix : fix menu error

parent 0a7b12a8
......@@ -34,6 +34,6 @@ module.exports = {
'linebreak-style': 0,
},
settings: {
polyfills: ['fetch', 'promises', 'url'],
polyfills: ['fetch', 'Promise', 'url', 'object-assign'],
},
};
......@@ -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',
},
],
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment