refactor(components): 重构图片资源引用方式,使用动态路径
将静态图片路径改为从valueUrl动态获取,统一管理图片资源路径 添加新的SVG图标资源 修复BI组件401未授权时的登录跳转逻辑 优化签到组件图片资源路径
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<a class="list" :class="{ 'voted': !item.time || item.isvote }" target="_blank" :href="item.url">
|
||||
<div class="list-item flexcenter " v-for="(item, index) in item?.data?.option" :key="index">
|
||||
<div class="list-top flexacenter">
|
||||
<img v-if="item.selected" class="list-tick" src="/img/vote-tick.svg">
|
||||
<img v-if="item.selected" class="list-tick" :src="valueUrl + '/img/vote-tick.svg'">
|
||||
<div v-else class="list-serial flexcenter">{{ index + 1 }}</div>
|
||||
<div class="list-text one-line-display flex1">{{ item.value }}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user