duy %!s(int64=2) %!d(string=hai) anos
pai
achega
9ca889d0d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = []