Merge branch 'develop' of https://gitea.joylink.club/joylink/xian-ncc-da-client into develop
This commit is contained in:
commit
84fac01c7a
@ -198,7 +198,9 @@ const onRequest: QTable['onRequest'] = async (props) => {
|
|||||||
pagination.value.rowsNumber = resp.total;
|
pagination.value.rowsNumber = resp.total;
|
||||||
pagination.value.rowsPerPage = resp.size;
|
pagination.value.rowsPerPage = resp.size;
|
||||||
rows.splice(0, rows.length, ...(resp.records as []));
|
rows.splice(0, rows.length, ...(resp.records as []));
|
||||||
handleRowClick(rows[0]);
|
if (rows.length) {
|
||||||
|
handleRowClick(rows[0]);
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
$q.notify({
|
$q.notify({
|
||||||
type: 'negative',
|
type: 'negative',
|
||||||
|
Loading…
Reference in New Issue
Block a user