duy 2 лет назад
Родитель
Сommit
9ca889d0d6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/static/actual.vue

+ 1 - 1
src/views/static/actual.vue

@@ -117,7 +117,7 @@ const getYearList = async () => {
         const arr = getArrValue(data)
         yearoptions.value = arr
         if ( yearoptions.value.length > 0) {
-            checkyear.value = yearoptions.value[0]
+            checkyear.value = yearoptions.value[yearoptions.value.length - 1]
         }
     } else {
         yearoptions.value = []