Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cs_vsofpm
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
cs_vsofpm
Commits
d82b8160
Commit
d82b8160
authored
Jun 01, 2023
by
wuhao
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asder
parent
4efa7f41
Pipeline
#3536
passed with stages
in 4 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
index.jsx
src/pages/usercenter/index.jsx
+3
-1
No files found.
src/pages/usercenter/index.jsx
View file @
d82b8160
...
...
@@ -49,10 +49,12 @@ function Usercenter() {
}
};
const
[
edit
,
setedit
]
=
useState
(
false
);
const
[
telephone
,
settelephone
]
=
useState
(
currentUser
?.
telephone
);
const
[
email
,
setemail
]
=
useState
(
currentUser
?.
email
);
return
(
<
Container
maxWidth=
{
false
}
className=
"diystyles"
>
<
Box
...
...
@@ -293,7 +295,7 @@ function Usercenter() {
dataIndex
:
"departmentName"
,
key
:
"departmentName"
,
},
{
title
:
"班级"
,
dataIndex
:
"className"
,
key
:
"className"
},
currentUser
?.
type
===
"3"
&&
{
title
:
"班级"
,
dataIndex
:
"className"
,
key
:
"className"
},
]
}
dataSource=
{
currentUser
}
/>
...
...
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