|
@@ -165,7 +165,7 @@
|
|
|
@click="toView(item, '2')"
|
|
|
>
|
|
|
<el-col :span="4" class="left">
|
|
|
- <el-image class="image" :src="item.logo[0].url" fit="fill" />
|
|
|
+ <el-image class="image" :src="getUrl(item.logo)" fit="fill" />
|
|
|
</el-col>
|
|
|
<el-col :span="20" class="right">
|
|
|
<el-col :span="24" class="right_1">
|
|
@@ -608,6 +608,9 @@ const getDict = (data, model) => {
|
|
|
else if (model == 'scale') res = scaleList.value.find((f) => f.value == data)
|
|
|
return get(res, 'label')
|
|
|
}
|
|
|
+const getUrl = (item) => {
|
|
|
+ if (item) return `${import.meta.env.VITE_APP_HOST}${item[0].uri}`
|
|
|
+}
|
|
|
// 地区显示
|
|
|
const getArea = (data) => {
|
|
|
if (data) return data.join(',')
|