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
e204bba9
Commit
e204bba9
authored
Mar 30, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userInfo
parent
5a219d90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
userInfo.vue
pages/basicData/userManagent/userInfo.vue
+3
-2
No files found.
pages/basicData/userManagent/userInfo.vue
View file @
e204bba9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<Avatar
:src=
"avatorPath"
size=
"150"
/>
<Avatar
:src=
"avatorPath"
size=
"150"
/>
</p>
</p>
<p
style=
"text-align:center;padding:10px;"
>
<p
style=
"text-align:center;padding:10px;"
>
<Button
ghost
@
click=
"openModalAvatar"
>
修改头像
</Button>
<Button
@
click=
"openModalAvatar"
>
修改头像
</Button>
</p>
</p>
</div>
</div>
</Card>
</Card>
...
@@ -231,7 +231,8 @@ export default {
...
@@ -231,7 +231,8 @@ export default {
upAvatar
()
{
upAvatar
()
{
if
(
this
.
imageModel
.
avatar_Url
!=
''
)
{
if
(
this
.
imageModel
.
avatar_Url
!=
''
)
{
this
.
$http
.
sysUser
.
changeavatar
(
this
.
imageModel
).
then
((
res
)
=>
{
this
.
$http
.
sysUser
.
changeavatar
(
this
.
imageModel
).
then
((
res
)
=>
{
if
(
res
.
data
.
result
)
{
alert
(
JSON
.
stringify
(
res
))
if
(
res
.
success
)
{
this
.
$Message
.
success
(
'修改成功!'
)
this
.
$Message
.
success
(
'修改成功!'
)
this
.
modalAvatar
=
false
this
.
modalAvatar
=
false
this
.
$store
.
commit
(
this
.
$store
.
commit
(
...
...
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