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() : '/'
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
@@ -64,3 +64,9 @@ export default defineComponent({
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.el-card {
|
||||
height: calc(100vh - 100px);
|
||||
}
|
||||
</style>
|
||||
@@ -65,3 +65,9 @@ export default defineComponent({
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.el-card {
|
||||
height: calc(100vh - 100px);
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user