Sfoglia il codice sorgente

Merge branch 'fix/behaviorFix' of FanYanPeng/EAIFrontend into host-nju

LiaoYanZhou 9 mesi fa
parent
commit
8eefcf2dbd
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/views/BehaviorPage/BehaviorBoard.vue

+ 3 - 0
src/views/BehaviorPage/BehaviorBoard.vue

@@ -211,6 +211,9 @@ function AssignmentChanged(value:AssignmentVO){
         if (res.data.code === 200){
           engagements.value = res.data.data.records;
           if (engagements.value&&engagements.value.length>0){
+            if (currentEngagementIndex.value == 0){
+              currentEngagement.value =  engagements.value[0];
+            }
             currentEngagementIndex.value = 0;
           }
           else{