From 6c76d27cd3129038c802209aba8e7cbd6c830089 Mon Sep 17 00:00:00 2001 From: chenos Date: Mon, 22 Mar 2021 08:56:58 +0800 Subject: [PATCH] fix: login & register --- packages/app/src/pages/login.tsx | 7 ++----- packages/app/src/pages/register.tsx | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/app/src/pages/login.tsx b/packages/app/src/pages/login.tsx index 7a8d48d612..b83c4d95a7 100644 --- a/packages/app/src/pages/login.tsx +++ b/packages/app/src/pages/login.tsx @@ -4,6 +4,7 @@ import { Page } from '@/components/pages'; import ViewFactory from '@/components/views'; import { Helmet, useModel } from 'umi'; import get from 'lodash/get'; +import { Login } from '@/components/views/Form/Login'; export default (props: any) => { const { initialState = {}, refresh, setInitialState } = useModel('@@initialState'); @@ -13,11 +14,7 @@ export default (props: any) => { {siteTitle ? `登录 - ${siteTitle}` : '登录'} - + ); }; \ No newline at end of file diff --git a/packages/app/src/pages/register.tsx b/packages/app/src/pages/register.tsx index ffa4c28152..3d0ec6d101 100644 --- a/packages/app/src/pages/register.tsx +++ b/packages/app/src/pages/register.tsx @@ -4,6 +4,7 @@ import { Page } from '@/components/pages'; import ViewFactory from '@/components/views'; import { Helmet, useModel } from 'umi'; import get from 'lodash/get'; +import { Register } from '@/components/views/Form/Register'; export default (props: any) => { const { initialState = {}, refresh, setInitialState } = useModel('@@initialState'); @@ -13,11 +14,7 @@ export default (props: any) => { {siteTitle ? `注册 - ${siteTitle}` : '注册'} - + ); }; \ No newline at end of file