Explorar o código

feat: 修复日期排序

rindy %!s(int64=2) %!d(string=hai) anos
pai
achega
d3b94082eb
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/pages/SViewer.vue

+ 4 - 0
src/pages/SViewer.vue

@@ -163,6 +163,10 @@ const sourceDays = computed(() => {
         }
     })
 
+    outDays.year.sort((a,b)=>b-a)
+    outDays.month.sort()
+    outDays.day.sort()
+
     return outDays
 })