Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
8ec75f65
Commit
8ec75f65
authored
Mar 31, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userInfo
parent
55c2cd6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
userInfo.vue
pages/basicData/userManagent/userInfo.vue
+4
-2
No files found.
pages/basicData/userManagent/userInfo.vue
View file @
8ec75f65
...
...
@@ -131,6 +131,7 @@ export default {
remark
:
""
,
avatarUrl
:
""
},
userInfos
:{},
imageModel
:
{
id
:
null
,
avatar_Url
:
""
,
...
...
@@ -206,6 +207,7 @@ export default {
this
.
$http
.
sysUser
.
getuserinfo
(
parma
).
then
(
res
=>
{
if
(
res
.
result
)
{
this
.
userInfo
=
res
.
result
;
this
.
userInfos
=
res
.
result
;
this
.
imageModel
.
id
=
this
.
userInfo
.
id
;
if
(
res
.
result
.
avatarUrl
&&
...
...
@@ -233,8 +235,8 @@ export default {
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"修改成功!"
);
this
.
modalAvatar
=
false
;
this
.
userInfo
.
avatarUrl
=
fileUrlDown
+
this
.
imageModel
.
avatar_Url
;
this
.
$store
.
commit
(
"admin/user/setUserAvatar"
,
this
.
userInfo
);
this
.
userInfo
s
.
avatarUrl
=
fileUrlDown
+
this
.
imageModel
.
avatar_Url
;
this
.
$store
.
commit
(
"admin/user/setUserAvatar"
,
this
.
userInfo
s
);
}
else
{
this
.
$Message
.
error
(
"修改失败!"
);
}
...
...
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