From 0e3d8a628c8497b8dd9075df86a9f4842f396971 Mon Sep 17 00:00:00 2001
From: 1549469775 <1549469775@qq.com>
Date: Thu, 22 Jul 2021 17:32:36 +0800
Subject: [PATCH] add
---
src/AppRouter.tsx | 50 ++++++++++++++++++++++++++------------------
src/assets/style/common.scss | 10 ++++-----
src/route.tsx | 15 ++++++++++---
src/views/About/index.tsx | 10 ++++++++-
src/views/Layout/index.tsx | 8 +++----
src/views/Login/Test.tsx | 9 ++++++++
src/views/Login/index.tsx | 18 ++++++++++++++++
7 files changed, 87 insertions(+), 33 deletions(-)
create mode 100644 src/views/Login/Test.tsx
create mode 100644 src/views/Login/index.tsx
diff --git a/src/AppRouter.tsx b/src/AppRouter.tsx
index 175df35..5c25c25 100644
--- a/src/AppRouter.tsx
+++ b/src/AppRouter.tsx
@@ -6,30 +6,40 @@ import { pageList } from "@/plugins/pageHoc"
import Layout from "@/views/Layout"
import Auth from "@/ui/Auth"
-import routes from "./route"
+import routes,{Loading} from "./route"
+
+function Wrapper(props: any) {
+ if (!props.isSub) {
+ return