Skip to content

Commit d54184c

Browse files
committed
refactor: update icon source handling in PermissionSetting component
1 parent dd621b5 commit d54184c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/views/system/resource-authorization/component/PermissionSetting.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
shape="square"
5858
:size="20"
5959
>
60-
<img :src="row?.icon" alt=""/>
60+
<img :src="resetUrl(row?.icon)" alt=""/>
6161
</el-avatar>
6262
<!--  应用 icon -->
6363
<LogoIcon v-else-if="isApplication" height="20px" class="mr-12"/>
@@ -175,7 +175,7 @@
175175
import {ref, onMounted, watch, computed} from 'vue'
176176
import type {Provider} from '@/api/type/model'
177177
import {AuthorizationEnum} from '@/enums/system'
178-
import {isAppIcon} from '@/utils/common'
178+
import {isAppIcon, resetUrl} from '@/utils/common'
179179
import {EditionConst} from '@/utils/permission/data'
180180
import {hasPermission} from '@/utils/permission/index'
181181
import useStore from '@/stores'

0 commit comments

Comments
 (0)