Explorar o código

fix(OTA): 修复版本列表的排序逻辑

- 移除版本列表的反转操作,确保版本按正确顺序显示
- 优化分页逻辑以提升用户体验
kongwenhao hai 2 días
pai
achega
83cf514a73
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frontend/src/views/OTA/index.vue

+ 1 - 1
frontend/src/views/OTA/index.vue

@@ -26,7 +26,7 @@ const totalItems = ref(0);
 const paginatedVersions = computed(() => {
   const start = (currentPage.value - 1) * pageSize.value;
   const end = start + pageSize.value;
-  return (versions.value || []).slice(start, end).reverse();
+  return (versions.value || []).slice(start, end);
 });
 
 // 获取版本信息