duy 2 vuotta sitten
vanhempi
commit
9ca889d0d6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 = []