|
@@ -9,7 +9,11 @@
|
|
|
<el-row :gutter="16">
|
|
|
<el-col :span="6" v-for="(item, index) in list" :key="index" @click="toView(item)">
|
|
|
<div class="list">
|
|
|
- <el-image class="image" :src="getUrl(item.file)" fit="cover"> </el-image>
|
|
|
+ <el-image class="image" :src="getUrl(item.file)" fit="cover">
|
|
|
+ <template v-slot:error>
|
|
|
+ <el-image class="image" :src="service" fit="fill" />
|
|
|
+ </template>
|
|
|
+ </el-image>
|
|
|
<el-col :span="24" class="name textOne">
|
|
|
<el-tooltip effect="dark" :content="item.name" placement="top">
|
|
|
{{ item.name || '暂无名称' }}
|
|
@@ -36,6 +40,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
+import service from '/images/service.png'
|
|
|
import { onBeforeRouteLeave } from 'vue-router'
|
|
|
// 接口
|
|
|
import { SupportStore } from '@/store/api/platform/support'
|