From 31a70c1178cae1b4e89ad9a352210814a721ad1e Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 17 Jun 2024 16:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=A5=E5=BA=9F=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/components/ImagePreview/index.vue | 142 +++++++++--------- .../return/receive/component/handlePage.vue | 21 ++- .../views/scrapManage/component/scrapImg.vue | 17 ++- 3 files changed, 101 insertions(+), 79 deletions(-) diff --git a/sgzb-ui/src/components/ImagePreview/index.vue b/sgzb-ui/src/components/ImagePreview/index.vue index 2fa02d71..a4909058 100644 --- a/sgzb-ui/src/components/ImagePreview/index.vue +++ b/sgzb-ui/src/components/ImagePreview/index.vue @@ -1,82 +1,88 @@ diff --git a/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue b/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue index 1170d0a5..3a9dfe93 100644 --- a/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue +++ b/sgzb-ui/src/views/claimAndreturn/return/receive/component/handlePage.vue @@ -510,7 +510,7 @@ - + + + + + + + diff --git a/sgzb-ui/src/views/scrapManage/component/scrapImg.vue b/sgzb-ui/src/views/scrapManage/component/scrapImg.vue index b5f4a7e6..4b13a2b9 100644 --- a/sgzb-ui/src/views/scrapManage/component/scrapImg.vue +++ b/sgzb-ui/src/views/scrapManage/component/scrapImg.vue @@ -11,7 +11,7 @@ export default { props: { - scrapImgUrl: {}, + scrapImgUrl: { + type: String, + default: () => null, + }, }, data() { return { @@ -31,14 +34,14 @@ export default { } }, mounted() { - let imgList = [] + // let imgList = [] if (this.scrapImgUrl) { - imgList = this.scrapImgUrl.split(',') + this.scrapImgList = this.scrapImgUrl.split(',') } - this.scrapImgList = imgList.map( - (item) => (item = this.impViewUrl + item), - ) + // this.scrapImgList = imgList.map( + // (item) => (item = this.impViewUrl + item), + // ) }, }