Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
036e69a1
Commit
036e69a1
authored
Jan 18, 2021
by
wufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:增加index.html#/默认跳转页面
parent
fcf1af3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
src/modules/root/App.tsx
+4
-1
src/routes/config/mainRoutes.tsx
+2
-2
No files found.
src/modules/root/App.tsx
View file @
036e69a1
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2019-07-10 10:30:49
* @LastEditors: wufan
* @LastEditTime: 2021-01-
09 15:06:50
* @LastEditTime: 2021-01-
18 10:23:23
* @Description:
*/
import
React
,
{
useContext
,
useEffect
,
useState
}
from
'react'
;
...
...
@@ -28,6 +28,9 @@ const App: React.FC = (props: any) => {
useEffect
(()
=>
{
getStoreAndUserInfo
();
window
.
RCHistory
.
push
({
pathname
:
`/switch-route`
,
})
},
[])
async
function
getStoreAndUserInfo
()
{
...
...
src/routes/config/mainRoutes.tsx
View file @
036e69a1
/*
* @Author: 吴文洁
* @Date: 2020-04-29 10:26:32
* @LastEditors:
zhangleyu
an
* @LastEditTime: 2021-01-
08 11:24:22
* @LastEditors:
wuf
an
* @LastEditTime: 2021-01-
18 10:26:58
* @Description: 内容线路由配置
*/
import
EmployeesManagePage
from
'@/modules/store-manage/EmployeesManagePage'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment