wucl 1 napja
szülő
commit
ee5366eb86
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      src/views/home/todo.vue

+ 3 - 1
src/views/home/todo.vue

@@ -670,7 +670,8 @@ export default {
 
     // 个贷获取最新备注
     queryPersonalComments(businessIds){
-      queryLastComments(businessIds).then(res=>{
+      if (businessIds && businessIds.length>0){
+        queryLastComments(businessIds).then(res=>{
           if (res.code === 200){
               for (let i in this.personalListData){
                   for (let j in res.data){
@@ -681,6 +682,7 @@ export default {
               }
           }
       })
+      }
     }
   },
 };