联调完成

This commit is contained in:
yanghang
2025-06-19 19:10:19 +08:00
parent be952c8501
commit 746789edb3
4 changed files with 15 additions and 9 deletions
@@ -57,6 +57,8 @@
height: 170rpx;
float: left;
position: relative;
border-radius: 20rpx;
overflow: hidden;
.img-box{
width: 170rpx;
height: 170rpx;
@@ -1,5 +1,5 @@
<template>
<image :src="imgUrlShow"></image>
<image :src="imgUrlShow" fit="cover"></image>
<!-- <image class="img" src="@/static/images/test/1.png"></image> -->
</template>
@@ -42,6 +42,7 @@
getPreviewUrlBlob(id) {
// this.imgUrlShow = '@/static/images/index/message_b.png'
previewFile(id).then((res) => {
console.log(res)
this.imgUrlShow = URL.createObjectURL(res);
// const reader = new FileReader();
// reader.readAsDataURL(res)