소스 검색

feat: 调整滚动加载页数

jack 5 달 전
부모
커밋
0ef75637f5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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