Browse Source

处理维修图片显示问题

lex-xin 4 years ago
parent
commit
e5fc89e6ef
1 changed files with 3 additions and 1 deletions
  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;
     },
   },
 };