Explorar el Código

fix(assistant): 修复条件语句缺少else关键字的问题

huoyi hace 3 días
padre
commit
a91c60b550
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/assistant/components/dutyOrganization.vue

+ 2 - 1
src/views/assistant/components/dutyOrganization.vue

@@ -928,10 +928,11 @@ const updateAttendanceBarChart = () => {
928 928
 
929 929
 // 根据API数据更新图表和统计信息
930 930
 const updateChartsWithData = () => {
931
+  
931 932
   // 更新出勤人次柱状图
932 933
   if (isStationType.value) {
933 934
     updateAttendanceBarChart()
934
-  } {
935
+  } else{
935 936
     updateAttendanceBarOtherChart()
936 937
   }
937 938