Bläddra i källkod

feat: 调整滚动加载页数

jack 5 månader sedan
förälder
incheckning
0ef75637f5
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/views/SystemMessage/src/SystemMessage.vue

+ 2 - 2
src/views/SystemMessage/src/SystemMessage.vue

@@ -76,7 +76,7 @@ const unreadNotificationList = ref<any[]>([])
 const readNotificationList = ref<any[]>([])
 const pageInfo = ref({
   cp: 0,
-  ps: 4
+  ps: 30
 })
 const getNotificationList = async (
   tabType: string = 'All Notifications',
@@ -92,7 +92,7 @@ const getNotificationList = async (
     if (activeCardTypeName.value === 'Feature Update') {
       pageInfo.value.ps = 100
     } else {
-      pageInfo.value.ps = 4
+      pageInfo.value.ps = 30
     }
   } else {
     pageInfo.value.cp += 1