Commit 7954726c authored by ζ„šι“'s avatar ζ„šι“ Committed by Yu

fix menu bug

parent fc6ce19f
...@@ -50,12 +50,18 @@ export default { ...@@ -50,12 +50,18 @@ export default {
path: '/', path: '/',
component: '../layouts/BasicLayout', component: '../layouts/BasicLayout',
routes: [ routes: [
{ path: '/', redirect: '/welcome' },
// dashboard // dashboard
{ {
path: '/', path: '/welcome',
name: 'dashboard', name: 'welcome',
icon: 'dashboard', icon: 'smile',
component: './BasicDemo', component: './Welcome',
},
{
path: 'https://github.com/umijs/umi-blocks/tree/master/ant-design-pro',
name: 'ζ›΄ε€šι‘΅ι’',
icon: 'block',
}, },
], ],
}, },
......
import React from 'react';
export default () => <p>hello pro!</p>;
import React from 'react';
export default () => (
<p>
ζƒ³θ¦ζ·»εŠ ζ›΄ε€šι‘΅ι’οΌŸθ―·ε‚θ€ƒ{' '}
<a href="https://umijs.org/guide/block.html" target="_blank" rel="noopener noreferrer">
umi εŒΊε—
</a>
。
</p>
);
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