Просмотр исходного кода

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

huoyi дней назад: 3
Родитель
Сommit
a91c60b550
1 измененных файлов с 2 добавлено и 1 удалено
  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
 // 根据API数据更新图表和统计信息
929
 // 根据API数据更新图表和统计信息
930
 const updateChartsWithData = () => {
930
 const updateChartsWithData = () => {
931
+  
931
   // 更新出勤人次柱状图
932
   // 更新出勤人次柱状图
932
   if (isStationType.value) {
933
   if (isStationType.value) {
933
     updateAttendanceBarChart()
934
     updateAttendanceBarChart()
934
-  } {
935
+  } else{
935
     updateAttendanceBarOtherChart()
936
     updateAttendanceBarOtherChart()
936
   }
937
   }
937
 
938