fix:图片显示
This commit is contained in:
parent
9261b0b7f2
commit
7160526321
@ -22,8 +22,8 @@
|
||||
<el-table-column label="名称" align="center" prop="introName" />
|
||||
<el-table-column label="图片" align="center" prop="introImg" width="180">
|
||||
<template v-slot:default="{ row }">
|
||||
<div class="image" @click="previewImage(`${image.baseUrl + row.introImg}`, row)">
|
||||
<img style="width: 50px; height: 50px" :src="`${image.baseUrl + row.introImg}`" />
|
||||
<div class="image" @click="previewImage(row.introImg, row)">
|
||||
<img style="width: 50px; height: 50px" :src="row.introImg" />
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -22,8 +22,8 @@
|
||||
<el-table-column label="名称" align="center" prop="methodName" />
|
||||
<el-table-column label="图片" align="center" prop="methodImg" width="180">
|
||||
<template v-slot:default="{ row }">
|
||||
<div class="image" @click="previewImage(`${image.baseUrl + row.methodImg}`, row)">
|
||||
<img style="width: 50px; height: 50px" :src="`${image.baseUrl + row.methodImg}`" />
|
||||
<div class="image" @click="previewImage(row.methodImg, row)">
|
||||
<img style="width: 50px; height: 50px" :src="row.methodImg" />
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -150,7 +150,6 @@ export default {
|
||||
this.loading = true;
|
||||
listStandardJob(this.queryParams).then((response) => {
|
||||
this.standardJobList = response.rows;
|
||||
console.log(777, this.standardJobList);
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user