mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-27 04:57:10 +08:00
新增:新增上传头像 API,采用本地存储方式存储头像
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<div v-if="userInfo">
|
||||
<a-space :size="12">
|
||||
<a-avatar :size="24">
|
||||
<img :src="userInfo.avatar ?? getAvatar(userInfo.gender)" />
|
||||
<img :src="getAvatar(userInfo)" />
|
||||
</a-avatar>
|
||||
<a-typography-text>
|
||||
{{ userInfo.nickname }} {{ $t('monitor.studioPreview.studio') }}
|
||||
|
@@ -56,7 +56,7 @@
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: 'Dashboard', // If you want the include property of keep-alive to take effect, you must name the component
|
||||
name: 'Workplace', // If you want the include property of keep-alive to take effect, you must name the component
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user