Browse Source

2022.6.16

ggooalice 3 years ago
parent
commit
9a337ee6b6

+ 4 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/workReport/list.vue

@@ -422,7 +422,10 @@
                         }
                         this.recordLists = res.data.records
                         this.totals = res.data.total
-                        this.detailsList = this.recordLists[this.idx].membdateList
+                        if(this.recordLists.length != 0){
+                            this.detailsList = this.recordLists[this.idx].membdateList
+                        }
+                        
                     } else {
                         this.$message({
                             message: res.msg,