add avatar

This commit is contained in:
AceDataCloud committed 2021-09-11 02:25:43 +08:00
1 parent 2a5a5c601c
commit ee99215af4
8 files changed
+55 -12

No files matched your search

+1 -1
View File
@@ -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() : '/'
});
});
},