This commit is contained in:
joylink_zhaoerwei 2023-12-22 14:44:37 +08:00
parent db277254f9
commit 10271fc959

View File

@ -69,7 +69,7 @@ const onRequest: QTable['onRequest'] = async (props) => {
pagination.value.rowsPerPage = rowsPerPage; pagination.value.rowsPerPage = rowsPerPage;
const datas = lineNetStore.connectInfo?.msgs; const datas = lineNetStore.connectInfo?.msgs;
if (datas) { if (datas) {
rows.value = datas; rows.value = datas.slice((page - 1) * rowsPerPage, page * rowsPerPage - 1);
pagination.value.rowsNumber = datas.length; pagination.value.rowsNumber = datas.length;
} }
}; };