Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
f55c52c6
Commit
f55c52c6
authored
Oct 27, 2021
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复问题3
parent
a2a71d44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
login.jsx
src/page/login/login.jsx
+1
-1
No files found.
src/page/login/login.jsx
View file @
f55c52c6
...
@@ -4,7 +4,7 @@ import {Root} from "../../dataCenter/Root";
...
@@ -4,7 +4,7 @@ import {Root} from "../../dataCenter/Root";
import
{
useFormState
}
from
"../../utils/hook"
;
import
{
useFormState
}
from
"../../utils/hook"
;
import
{
useHistory
}
from
"react-router-dom"
;
import
{
useHistory
}
from
"react-router-dom"
;
function
Login
(
props
)
{
function
Login
()
{
const
history
=
useHistory
()
const
history
=
useHistory
()
const
{
fetchData
,
dataCenter
}
=
useContext
(
Root
)
const
{
fetchData
,
dataCenter
}
=
useContext
(
Root
)
const
[
needLogin
,
setNeedLogin
]
=
useState
(
false
)
const
[
needLogin
,
setNeedLogin
]
=
useState
(
false
)
...
...
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