From 9f9c41e93df80b48fbcc4d1c2e7748bed8111302 Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 08 八月 2023 19:36:55 +0800
Subject: [PATCH] 家庭资产备忘本

---
 ruoyi-ui/src/views/device/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/device/index.vue b/ruoyi-ui/src/views/device/index.vue
index ee7bd1c..d336d92 100644
--- a/ruoyi-ui/src/views/device/index.vue
+++ b/ruoyi-ui/src/views/device/index.vue
@@ -155,15 +155,16 @@
               alt=""
               style="width: 35px; height: 35px;"
               fit="cover"
-              v-if="scope.row.url !== ',' "
+              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"
-              v-if="scope.row.url === ','"
+
             ></div>
         </template>
       </el-table-column>

--
Gitblit v1.9.1