Skip to content

Commit

Permalink
Merge pull request alldatacenter#686 from alldatacenter/develop
Browse files Browse the repository at this point in the history
[Feature][studio]fix avatar未找到资源问题
  • Loading branch information
alldatafounder authored Nov 6, 2023
2 parents 219056b + 5c9e0c2 commit e93e7d9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion studio/micro-ui/src/layout/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
<div class="avatar-wrapper">
<img :src="user.avatarName ? baseApi + '/avatar/' + user.avatarName : Avatar" class="user-avatar">
<img :src="user.avatarName ? baseApi + '/system/avatar/' + user.avatarName : Avatar" class="user-avatar">
<i class="el-icon-caret-bottom" />
</div>
<el-dropdown-menu slot="dropdown">
Expand Down
2 changes: 1 addition & 1 deletion studio/micro-ui/src/views/govern/metadata/center.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div>
<div style="text-align: center">
<div class="el-upload">
<img :src="user.avatarName ? baseApi + '/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<img :src="user.avatarName ? baseApi + '/system/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<myUpload
v-model="show"
:headers="headers"
Expand Down
2 changes: 1 addition & 1 deletion studio/micro-ui/src/views/govern/user/center.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div>
<div style="text-align: center">
<div class="el-upload">
<img :src="user.avatarName ? baseApi + '/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<img :src="user.avatarName ? baseApi + '/system/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<myUpload
v-model="show"
:headers="headers"
Expand Down
2 changes: 1 addition & 1 deletion studio/micro-ui/src/views/lakehouse/user/center.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div>
<div style="text-align: center">
<div class="el-upload">
<img :src="user.avatarName ? baseApi + '/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<img :src="user.avatarName ? baseApi + '/system/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<myUpload
v-model="show"
:headers="headers"
Expand Down
2 changes: 1 addition & 1 deletion studio/micro-ui/src/views/system/user/center.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div>
<div style="text-align: center">
<div class="el-upload">
<img :src="user.avatarName ? baseApi + '/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<img :src="user.avatarName ? baseApi + '/system/avatar/' + user.avatarName : Avatar" title="点击上传头像" class="avatar" @click="toggleShow">
<myUpload
v-model="show"
:headers="headers"
Expand Down

0 comments on commit e93e7d9

Please sign in to comment.