duy il y a 2 ans
Parent
commit
9ca889d0d6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = []