From 2fba04180da0a68de1d75f4961dc698badb236df Mon Sep 17 00:00:00 2001 From: From-wh Date: Fri, 30 Jun 2023 15:08:51 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/components/uploadImg/index.vue | 10 ++++++++-- .../admin/src/components/uploadPictures/index.vue | 8 ++++++-- .../admin/src/components/uploadPictures/widgetImg.vue | 11 ++++++++++- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/template/admin/src/components/uploadImg/index.vue b/template/admin/src/components/uploadImg/index.vue index c12f1fa8a..30b78b50f 100644 --- a/template/admin/src/components/uploadImg/index.vue +++ b/template/admin/src/components/uploadImg/index.vue @@ -5,8 +5,8 @@ append-to-body :modal-append-to-body="false" :visible.sync="uploadModal" - width="1024px" - :fullscreen="!isPage" + :width="isIframe ? '100%' : '1024px'" + :fullscreen="isIframe" @close="closed" >
@@ -152,6 +152,9 @@ export default { isPage: { default: false, }, + isIframe: { + default: false, + }, }, watch: { uploadModal: { @@ -409,6 +412,9 @@ export default { };