fix: 修复应用管理图标显示
This commit is contained in:
parent
6c9524ab9f
commit
ba3e5d0194
|
@ -140,8 +140,10 @@
|
|||
<div class="content">
|
||||
<div class="account-card" v-for="item in bindList">
|
||||
<img
|
||||
:src="getImage(bindIcon[item.provider])"
|
||||
style="height: 50px"
|
||||
:src="item.logoUrl || getImage(bindIcon[item.provider])"
|
||||
style="height: 50px;width: 50px"
|
||||
width='50px'
|
||||
height='50px'
|
||||
alt=""
|
||||
/>
|
||||
<Ellipsis style="width: 150px; font-size: 22px">
|
||||
|
@ -399,6 +401,8 @@ function getViews() {
|
|||
display: flex;
|
||||
margin-top: 24px;
|
||||
flex-wrap: wrap;
|
||||
gap: 24px;
|
||||
|
||||
.content-item {
|
||||
margin-right: 24px;
|
||||
|
||||
|
@ -438,9 +442,10 @@ function getViews() {
|
|||
}
|
||||
|
||||
.account-card {
|
||||
margin-right: 24px;
|
||||
width: 415px;
|
||||
background-image: url(/images/notice/dingtalk-background.png);
|
||||
border-right: 1px solid #f0f0f0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
|
|
@ -1065,12 +1065,10 @@
|
|||
>
|
||||
<img
|
||||
v-if="
|
||||
form.data.sso.configuration.oauth2
|
||||
.logoUrl
|
||||
form.data.logoUrl
|
||||
"
|
||||
:src="
|
||||
form.data.sso.configuration.oauth2
|
||||
.logoUrl
|
||||
form.data.logoUrl
|
||||
"
|
||||
alt="avatar"
|
||||
style="width: 150px"
|
||||
|
@ -1905,7 +1903,7 @@ function changeBackUpload(info: UploadChangeParam<UploadFile<any>>) {
|
|||
} else if (info.file.status === 'done') {
|
||||
info.file.url = info.file.response?.result;
|
||||
form.uploadLoading = false;
|
||||
form.data.sso.configuration.oauth2.logoUrl = info.file.response?.result;
|
||||
form.data.logoUrl = info.file.response?.result;
|
||||
} else if (info.file.status === 'error') {
|
||||
form.uploadLoading = false;
|
||||
message.error('logo上传失败,请稍后再试');
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
style="width: 32px; height: 33px"
|
||||
:alt="item.name"
|
||||
:src="
|
||||
iconMap.get(
|
||||
item.logoUrl || iconMap.get(
|
||||
item.provider,
|
||||
) || defaultImg
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue