Explorar o código

处理维修图片显示问题

lex-xin %!s(int64=4) %!d(string=hai) anos
pai
achega
e5fc89e6ef
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/views/repairManager/repairList.vue

+ 3 - 1
src/views/repairManager/repairList.vue

@@ -559,7 +559,9 @@ export default {
   },
   computed: {
     imgList() {
-      return this.activeRow?.repairImg?.split(",") || [];
+      let activeRow = this.activeRow
+      let arr = activeRow?.repairImg ? activeRow.repairImg.split(",") : []
+      return arr;
     },
   },
 };