From b29f1588f2bb8b46df38a52cbae07ea8590f099a Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 08 八月 2023 19:10:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-ui/src/views/secret/index.vue |   35 ++++++++++++++++++-----------------
 1 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/ruoyi-ui/src/views/secret/index.vue b/ruoyi-ui/src/views/secret/index.vue
index b5a593e..42431b3 100644
--- a/ruoyi-ui/src/views/secret/index.vue
+++ b/ruoyi-ui/src/views/secret/index.vue
@@ -128,22 +128,23 @@
         <el-table-column label="鐢靛瓙鏂囦欢" prop="url" align="center" sortable  width="110" >
           <template slot-scope="scope" >
             <div  @click="handleCheck(scope.row)">
-            <img
-              class="el-upload-list__item-thumbnail"
-              src="../../assets/images/deviceLis.png"
-              alt=""
-              style="width: 35px; height: 35px;"
-              fit="cover"
-              v-if="scope.row.url !== ','"
-            >
-            <img
-              class="el-upload-list__item-thumbnail"
-              src="../../assets/images/deviceA.png"
-              alt=""
-              style="width: 35px; height: 35px;"
-              fit="cover"
-              v-if="scope.row.url === ','"
-            ></div>
+              <img
+                class="el-upload-list__item-thumbnail"
+                src="../../assets/images/deviceLis.png"
+                alt=""
+                style="width: 35px; height: 35px;"
+                fit="cover"
+                v-if="!(scope.row.url === '' || scope.row.url === ',' || scope.row.url === null)"
+              >
+              <img
+                v-else
+                class="el-upload-list__item-thumbnail"
+                src="../../assets/images/deviceA.png"
+                alt=""
+                style="width: 35px; height: 35px;"
+                fit="cover"
+
+              ></div>
           </template>
         </el-table-column>
 
@@ -238,7 +239,7 @@
             <el-input v-model="formDat.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" ></el-input>
           </el-form-item>
 
-          <h4 class="form-header">鐩稿叧鍥剧墖 </h4>
+          <h4 class="form-header">鐩稿叧鍥剧墖</h4>
           <el-upload
             action="#"
             list-type="picture-card"

--
Gitblit v1.9.1