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,