From 2f3ed8493285728d0f83d50f3a342dbad5a06f9f Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 22 十月 2024 10:38:27 +0800
Subject: [PATCH] 问题修改乱码bug

---
 src/views/fysp/check/components/ArbitraryPhoto.vue |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/views/fysp/check/components/ArbitraryPhoto.vue b/src/views/fysp/check/components/ArbitraryPhoto.vue
index 4759c38..854296c 100644
--- a/src/views/fysp/check/components/ArbitraryPhoto.vue
+++ b/src/views/fysp/check/components/ArbitraryPhoto.vue
@@ -6,7 +6,7 @@
         :placeholder="key_select.text"
       >
         <el-option
-          v-for="(key_option, index_option) in filters.get(key_select.key)"
+          v-for="(key_option) in filters.get(key_select.key)"
           :key="key_option.key"
           :value="key_option.value"
           :label="key_option.label"
@@ -128,9 +128,6 @@
     }
   },
   mounted() {
-    if (this.defaultFile == undefined || this.defaultFile == null) {
-      this.defaultFile = [];
-    }
     if (this.subtask) {
       this.getAllImgList();
     }
@@ -233,11 +230,11 @@
       if (this.readonly) {
         return;
       }
-      img.isSelect = !Boolean(img.isSelect);
+      img.isSelect = !img.isSelect;
     },
     sendSelectedImg(isOk) {
       let result = [];
-      if (!Boolean(isOk)) {
+      if (!isOk) {
         this.$emit('selectByAnyPhonoEvent', result);
       }
       for (const item of this.imgUrlList) {
@@ -268,7 +265,7 @@
 }
 
 .btns {
-  height: 10%;
+  /* height: 10%; */
 }
 /* 
 .img_types {
@@ -283,7 +280,7 @@
 } */
 
 .imgs {
-  height: 370px;
+  height: 650px;
   width: 90%;
   min-height: 100px !important;
   /* border-style:solid;
@@ -352,7 +349,8 @@
   padding: 5px;
 }
 
-.el-dialog__body {
+::v-deep .el-dialog__body {
   height: 60vh;
+  padding: 10px calc(var(--el-dialog-padding-primary) + 10px) !important;
 }
 </style>

--
Gitblit v1.9.3