Skip to content

Commit 9155ae8

Browse files
committed
feat: 更新用户信息
1 parent 18a192d commit 9155ae8

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

backend/.tmp/data.db

0 Bytes
Binary file not shown.

backend/src/extensions/documentation/documentation/1.0.0/full_documentation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "Apache 2.0",
1515
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
1616
},
17-
"x-generation-date": "2023-02-10T09:47:22.758Z"
17+
"x-generation-date": "2023-02-10T13:18:04.525Z"
1818
},
1919
"x-strapi-config": {
2020
"path": "/documentation",

frontend/composables/Articlelist/useScrollBottom.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default (): boolean => {
22
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop
33
const clientHeight = document.documentElement.clientHeight
44
const scrollHeight = document.documentElement.scrollHeight
5-
if (scrollTop + clientHeight >= scrollHeight)
5+
if (scrollTop + clientHeight + 200 >= scrollHeight)// 还未到底部就先开始请求
66
return true
77
return false
88
}

frontend/server/api/articles/list.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default defineEventHandler(async (event): Promise<IArticleItem[]> => {
6666
]
6767
}
6868
${strategy[1]}
69-
pagination: { page: ${pageNum || '1'}, pageSize: 20 }
69+
pagination: { page: ${pageNum || '1'}, pageSize: 10 }
7070
){
7171
data{
7272
id

0 commit comments

Comments
 (0)