Commit 0530a324 by GGbong
2 parents 473da7a9 44f0c6b6
...@@ -5,6 +5,8 @@ body { ...@@ -5,6 +5,8 @@ body {
sans-serif; sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
min-width: 1280px;
overflow: auto;
} }
code { code {
......
import loadable from '@loadable/component'
const exact = true
export default [
{
url: '/login',
exact,
component: loadable(() => import('@/view/login'))
}
]
\ No newline at end of file
...@@ -13,6 +13,7 @@ import { Modal } from 'antd' ...@@ -13,6 +13,7 @@ import { Modal } from 'antd'
import error401 from "@/view/error/401" import error401 from "@/view/error/401"
import error404 from "@/view/error/404" import error404 from "@/view/error/404"
import fullScreenRoute from './modules/fullScreenRoute'
/** 获取全部路由的路径 */ /** 获取全部路由的路径 */
const getAllRouterName = route => route.map(e => e.url) const getAllRouterName = route => route.map(e => e.url)
......
import React from 'react'
import './index.scss'
function Login() {
return (
<div className="login-box">
这里是登陆
</div>
)
}
export default Login
\ No newline at end of file
File mode changed
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!