封面图

This commit is contained in:
kclf
2022-12-06 15:53:00 +08:00
parent 9b6cc6f506
commit 6e2c09c0cc
2 changed files with 14 additions and 4 deletions

View File

@@ -388,7 +388,9 @@
<img
class="i_upload_img"
v-if="feng_mian_1"
:src="feng_mian_1"
:src=" feng_mian_1.indexOf(',') > -1
? feng_mian_1.split(',')[0]
: feng_mian_1"
alt="avatar"
/>
<!-- <a-upload
@@ -826,7 +828,11 @@
<img
class="i_upload_img"
v-if="feng_mian_2"
:src="feng_mian_2"
:src="
feng_mian_2.indexOf(',') > -1
? feng_mian_2.split(',')[0]
: feng_mian_2
"
alt="avatar"
/>
<!-- <a-upload
@@ -4270,7 +4276,7 @@ export default defineComponent({
let newArr = [];
arr.forEach((item) => {
newArr.push({
value: item.dictValue,
value: item.dictValue + "," + item.dictCode,
label: item.dictName,
});
});

View File

@@ -59,7 +59,11 @@
<span style="margin-right: 14px">封面图</span>
</div>
<img
:src="detail.picUrl"
:src="
detail.picUrl.indexOf(',') > -1
? detail.picUrl.split(',')[0]
: detail.picUrl
"
alt="img"
style="width: 100px; height: 100px"
/>