gcz hace 3 años
padre
commit
46d32a2a0c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/owelist/owelist.vue

+ 1 - 1
pages/owelist/owelist.vue

@@ -63,7 +63,7 @@
 					// });
 					this.leaveDetail = res.data;
 					this.owelist = res.data.oweList;
-					if(this.owelist.length<=0){this.listEmpty = true};
+					if(this.owelist?.length<=0||!this.owelist){this.listEmpty = true};
 				
 					console.log('entranceOutDetail',res)
 				}).catch(err=>{