fix box
This commit is contained in:
parent
3f7045e200
commit
cf840839dd
1 changed files with 3 additions and 3 deletions
|
|
@ -96,7 +96,7 @@ const getDataNotification = async (index: number, type: string) => {
|
|||
minute: "2-digit",
|
||||
};
|
||||
await http
|
||||
.get(config.API.msgNotificate + `?page=${index}&pageSize=${10}`)
|
||||
.get(config.API.msgNotificate + `?page=${index}&pageSize=${15}`)
|
||||
.then((res: any) => {
|
||||
const response = res.data.result.data;
|
||||
totalInbox.value = res.data.result.total;
|
||||
|
|
@ -456,9 +456,9 @@ function onLoad(index: any, done: any) {
|
|||
(notiList.value.length === 0 && totalInbox.value === 0)
|
||||
) {
|
||||
page.value++;
|
||||
setTimeout(() => {
|
||||
setTimeout(async () => {
|
||||
await getDataNotification(page.value, "NOMAL");
|
||||
done();
|
||||
getDataNotification(page.value, "NOMAL");
|
||||
}, 1500);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue