Explorar el Código

处理维修图片显示问题

lex-xin hace 4 años
padre
commit
e5fc89e6ef
Se han modificado 1 ficheros con 3 adiciones y 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;
     },
   },
 };