...
|
...
|
@@ -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();
|
|
|
},
|
...
|
...
|
|