提交 5732c5bf 编写于 作者: 愚道 提交者: Yu

fix userLayout

上级 9e862bee
......@@ -43,8 +43,8 @@ export default {
routes: [
{
path: '/user',
components: ['../layouts/UserLayout'],
routes: [],
component: '../layouts/UserLayout',
routes: [{ path: '/user', component: './Welcome' }],
},
{
path: '/',
......
import React from 'react';
export default () => (
<p>
<p style={{ textAlign: 'center' }}>
想要添加更多页面请参考{' '}
<a href="https://umijs.org/guide/block.html" target="_blank" rel="noopener noreferrer">
umi 区块
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册