xingyy
xingyy 1 year ago
parent 73969a626a
commit 5f6198ca6d

@ -21,6 +21,11 @@ export default {
@import "./tm-vuetify/mian.min.css";
@import "./tm-vuetify/scss/theme.css";
@import "uview-ui/index.scss";
.u-upload__wrap{
display: flex;
justify-content: center;
align-items: center;
}
.u-upload__button{
width: 404rpx!important;
height: 306rpx!important;

@ -14,10 +14,15 @@
:fileList="fileList1"
@afterRead="afterRead"
@delete="deletePic"
name="1"
name="6"
multiple
:maxCount="10"
></u-upload>
:maxCount="1"
width="250"
height="150"
>
<image src="https://cdn.uviewui.com/uview/demo/upload/positive.png"
mode="widthFix" style="width: 404rpx;height: 306rpx;"></image>
</u-upload>
<!-- <image :src="info.artworkImg"></image>-->
</div>
<tm-poup height="700" v-model="show_2" position="bottom">
@ -342,7 +347,7 @@ export default {
const res = await postDataByParams('/api/warehouse/ocr', data)
if (res.code === 200) {
this.info = res.data
this.fileList1=[this.info.artworkImg]
this.fileList1=[{url:this.info.artworkImg}]
} else {
uni.showToast({
title: res.msg,

Loading…
Cancel
Save