联调完成
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user