From a459f13d8194e18fbcaafac5523a6a740cce9323 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 22 十月 2024 15:20:13 +0800
Subject: [PATCH] 开发版 V1.0.1

---
 src/views/fysp/check/components/CompDevicePhono.vue |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/views/fysp/check/components/CompDevicePhono.vue b/src/views/fysp/check/components/CompDevicePhono.vue
index 3900fa0..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) {

--
Gitblit v1.9.3