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/CompDevicePhono.vue |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/views/fysp/check/components/CompDevicePhono.vue b/src/views/fysp/check/components/CompDevicePhono.vue
index ee4f320..373e97e 100644
--- a/src/views/fysp/check/components/CompDevicePhono.vue
+++ b/src/views/fysp/check/components/CompDevicePhono.vue
@@ -90,9 +90,6 @@
     }
   },
   mounted() {
-    if (this.defaultFile == undefined || this.defaultFile == null) {
-      this.defaultFile = [];
-    }
     this.initImgUrlList();
   },
   methods: {
@@ -139,11 +136,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('selectPhonoEvent', result);
       }
       for (const item of this.imgPathsDataSourceCopy) {
@@ -174,7 +171,7 @@
 }
 
 .btns {
-  height: 10%;
+  /* height: 10%; */
 }
 /* 
   .img_types {
@@ -189,7 +186,7 @@
   } */
 
 .imgs {
-  height: 370px;
+  height: 650px;
   width: 90%;
   min-height: 100px !important;
   /* border-style:solid;

--
Gitblit v1.9.3