bzkf3 hace 2 años
padre
commit
c5d32d0956
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      src/pages/teacher/consult.vue

+ 7 - 0
src/pages/teacher/consult.vue

@@ -23,6 +23,13 @@ let timer: NodeJS.Timeout;
       last_msg: 1
     }
   })).data.page_data
+  if(dyaw_xlfw_zxhd!==undefined){
+    const temp = dyaw_xlfw_zxhd_list!.find(item => item.dxz_stu_user_id === dyaw_xlfw_zxhd!.dxz_stu_user_id)
+    if(temp?.dxz_id!==dyaw_xlfw_zxhd?.dxz_id){
+      dyaw_xlfw_zxhd = temp
+    }
+  }
+
   timer = setTimeout(async () => {
     await loop();
   }, 60 * 1000);