From 5f6198ca6d7de8ee727457598d43277a2f1262a9 Mon Sep 17 00:00:00 2001
From: xingyy <373639591@qq.com>
Date: Mon, 25 Sep 2023 20:03:52 +0800
Subject: [PATCH] submit
---
App.vue | 5 +++++
pages/consignment-painting/index.vue | 13 +++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/App.vue b/App.vue
index 5a2765a..1a2e335 100644
--- a/App.vue
+++ b/App.vue
@@ -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;
diff --git a/pages/consignment-painting/index.vue b/pages/consignment-painting/index.vue
index 30b2694..e12553d 100644
--- a/pages/consignment-painting/index.vue
+++ b/pages/consignment-painting/index.vue
@@ -14,10 +14,15 @@
:fileList="fileList1"
@afterRead="afterRead"
@delete="deletePic"
- name="1"
+ name="6"
multiple
- :maxCount="10"
- >
+ :maxCount="1"
+ width="250"
+ height="150"
+ >
+
+
@@ -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,