Squashed commit of the following:
All checks were successful
local-test分支构建发布 / Docker-Build (push) Successful in 1m49s
All checks were successful
local-test分支构建发布 / Docker-Build (push) Successful in 1m49s
commit 1333a0ec6f
Author: joylink_zhaoerwei <Bob_Engineer@163.com>
Date: Wed Nov 13 09:33:09 2024 +0800
查询无数据调整
This commit is contained in:
parent
1f8b5552c7
commit
4d65590ad1
@ -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 []));
|
||||||
|
if (rows.length) {
|
||||||
handleRowClick(rows[0]);
|
handleRowClick(rows[0]);
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
$q.notify({
|
$q.notify({
|
||||||
type: 'negative',
|
type: 'negative',
|
||||||
|
Loading…
Reference in New Issue
Block a user