Skip to content

Commit 6bd5b9a

Browse files
committed
refactor: update icon URL handling in ApplicationResourceIndex.vue
1 parent 628e7cd commit 6bd5b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/views/system-resource-management/ApplicationResourceIndex.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
style="background: none"
5858
class="mr-8"
5959
>
60-
<img :src="scope.row?.icon" alt=""/>
60+
<img :src="resetUrl(scope.row?.icon)" alt=""/>
6161
</el-avatar>
6262
<el-avatar v-else class="avatar-green" shape="square" :size="24">
6363
<img src="@/assets/node/icon_tool.svg" style="width: 58%" alt=""/>
@@ -232,7 +232,7 @@
232232
import {onMounted, ref, reactive, computed} from 'vue'
233233
import ApplicationResourceApi from '@/api/system-resource-management/application'
234234
import {t} from '@/locales'
235-
import {isAppIcon} from '@/utils/common'
235+
import {isAppIcon, resetUrl} from '@/utils/common'
236236
import useStore from '@/stores'
237237
import {datetimeFormat} from '@/utils/time'
238238
import {loadPermissionApi} from "@/utils/dynamics-api/permission-api.ts";

0 commit comments

Comments
 (0)