Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
a5f24dd2
Commit
a5f24dd2
authored
Aug 18, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user_info getnowcurrentuser
parent
f0d7f324
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/pages/user/user_info.vue
src/pages/user/user_info.vue
+3
-4
No files found.
src/pages/user/user_info.vue
View file @
a5f24dd2
...
@@ -381,7 +381,7 @@ export default {
...
@@ -381,7 +381,7 @@ export default {
type
:
"
success
"
,
type
:
"
success
"
,
});
});
this
.
getUserInfo
();
this
.
getUserInfo
();
this
.
getCurrentUser
();
this
.
get
Now
CurrentUser
();
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
"
修改个人信息失败
"
,
message
:
"
修改个人信息失败
"
,
...
@@ -413,7 +413,7 @@ export default {
...
@@ -413,7 +413,7 @@ export default {
type
:
"
success
"
,
type
:
"
success
"
,
});
});
this
.
getUserInfo
();
this
.
getUserInfo
();
this
.
getCurrentUser
();
this
.
get
Now
CurrentUser
();
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
"
修改个人信息失败
"
,
message
:
"
修改个人信息失败
"
,
...
@@ -427,7 +427,7 @@ export default {
...
@@ -427,7 +427,7 @@ export default {
});
});
}
}
},
},
getCurrentUser
()
{
get
Now
CurrentUser
()
{
this
.
$api
.
user
.
getNowUser
().
then
(({
data
})
=>
{
this
.
$api
.
user
.
getNowUser
().
then
(({
data
})
=>
{
if
(
data
.
success
==
1
)
{
if
(
data
.
success
==
1
)
{
this
.
$store
.
commit
(
"
userInfofun
"
,
data
.
data
);
this
.
$store
.
commit
(
"
userInfofun
"
,
data
.
data
);
...
@@ -497,7 +497,6 @@ export default {
...
@@ -497,7 +497,6 @@ export default {
type
:
"
success
"
,
type
:
"
success
"
,
});
});
this
.
getUserInfo
();
this
.
getUserInfo
();
this
.
getCurrentUser
();
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
"
申请升级开发者失败
"
,
message
:
"
申请升级开发者失败
"
,
...
...
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