Parcourir la source

feat: 调整滚动加载页数

jack il y a 5 mois
Parent
commit
0ef75637f5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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