This commit is contained in:
joylink_fanyuhong 2024-11-13 09:34:00 +08:00
commit 84fac01c7a

View File

@ -198,7 +198,9 @@ const onRequest: QTable['onRequest'] = async (props) => {
pagination.value.rowsNumber = resp.total;
pagination.value.rowsPerPage = resp.size;
rows.splice(0, rows.length, ...(resp.records as []));
if (rows.length) {
handleRowClick(rows[0]);
}
} catch (err) {
$q.notify({
type: 'negative',