refactor: update icon URL handling in ApplicationResourceIndex.vue
This commit is contained in:
parent
628e7cdfed
commit
6bd5b9af6a
@ -57,7 +57,7 @@
|
||||
style="background: none"
|
||||
class="mr-8"
|
||||
>
|
||||
<img :src="scope.row?.icon" alt=""/>
|
||||
<img :src="resetUrl(scope.row?.icon)" alt=""/>
|
||||
</el-avatar>
|
||||
<el-avatar v-else class="avatar-green" shape="square" :size="24">
|
||||
<img src="@/assets/node/icon_tool.svg" style="width: 58%" alt=""/>
|
||||
@ -232,7 +232,7 @@
|
||||
import {onMounted, ref, reactive, computed} from 'vue'
|
||||
import ApplicationResourceApi from '@/api/system-resource-management/application'
|
||||
import {t} from '@/locales'
|
||||
import {isAppIcon} from '@/utils/common'
|
||||
import {isAppIcon, resetUrl} from '@/utils/common'
|
||||
import useStore from '@/stores'
|
||||
import {datetimeFormat} from '@/utils/time'
|
||||
import {loadPermissionApi} from "@/utils/dynamics-api/permission-api.ts";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user