Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
6 years ago
Commit
5c021a96d578d04b050a05f978bea5a88256ee90
1 parent
8eae33c4
fix mine
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
apps/pages/userpage/author.vue
apps/pages/userpage/author.vue
View file @
5c021a9
...
...
@@ -93,10 +93,7 @@
try {
this.$sdk.getUser().then(res => {
if (get(res, 'uid') > 0) {
this.$route.params.id = res.uid;
this.autherInfo = assign({}, this.autherInfo, {
authorUid: res.uid
});
this.init({id: res.uid})
} else {
this.$sdk.goLogin();
}
...
...
@@ -197,6 +194,10 @@
authorType: params.type || 1
};
if (!params.id) {
return;
}
this.fetchBaseInfo();
this.fetchList();
},
...
...
Please
register
or
login
to post a comment