微调
This commit is contained in:
parent
db277254f9
commit
10271fc959
@ -69,7 +69,7 @@ const onRequest: QTable['onRequest'] = async (props) => {
|
||||
pagination.value.rowsPerPage = rowsPerPage;
|
||||
const datas = lineNetStore.connectInfo?.msgs;
|
||||
if (datas) {
|
||||
rows.value = datas;
|
||||
rows.value = datas.slice((page - 1) * rowsPerPage, page * rowsPerPage - 1);
|
||||
pagination.value.rowsNumber = datas.length;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user