add avatar
This commit is contained in:
1 parent
2a5a5c601c
commit
ee99215af4
8 files changed
+55
-12
No files matched your search
@@ -55,7 +55,7 @@ export default defineComponent({
|
||||
UserService.get(id).then(async ({ data }: { data: IUserDetailResponse }) => {
|
||||
await this.$store.dispatch('setUser', data as IUser);
|
||||
this.$router.push({
|
||||
name: 'home'
|
||||
path: this.$route.query.redirect ? this.$route.query.redirect.toString() : '/'
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user