From bcac500a760877dc9140f1f381739793706c1af6 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 10 十一月 2023 10:29:38 +0800 Subject: [PATCH] 修改图片大小 --- ruoyi-ui/src/views/bignote/familyeventInfo.vue | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue index b265eac..73eb76f 100644 --- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue +++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue @@ -93,15 +93,11 @@ <h4 class="form-header">鍏朵粬闄勪欢 </h4> <el-upload - action="" - :file-list="fileListOther" - class="upload-demo" + action="#" multiple list-type="picture-card" - :on-preview="handleFileCardPreview" - :on-remove="handleRemoveFile" + :file-list="fileListOther" :http-request="requestUpload1" - :show-file-list="true" :disabled="!btn" :class="{ hide: !btn }" > @@ -119,7 +115,7 @@ ></video> <img v-else class="el-upload-list__item-thumbnail" - src="../../assets/401_images/401.gif" + :src="file.url" alt="" style="width: 100%; height: 100%" fit="cover"> @@ -249,6 +245,7 @@ this.$route.meta.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.btn = false; this.isShow=false + alert(this.btn) } let _this = this @@ -337,7 +334,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); // this.open = false; - // this.btn=false + }); } }, @@ -356,7 +353,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); // this.open = false; - // this.btn=false + }); } @@ -425,7 +422,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛"); // this.open = false; - // this.btn=false + }); } else{ @@ -465,7 +462,7 @@ updateFamilyevent(this.formData).then(response => { this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛"); // this.open = false; - // this.btn=false + }); } }) -- Gitblit v1.9.1