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
Plain Diff
Browse Files
Authored by
TaoHuang
6 years ago
Commit
6fd4e044315493ef8af2b339e91efb2375665718
2 parents
b0940ea8
5c021a96
Merge branch 'master' of
http://git.yoho.cn/fe/yoho-community-web
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 @
6fd4e04
...
...
@@ -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