feat: 更新数据获取逻辑并添加数据使用情况展示

This commit is contained in:
TsMask
2025-02-28 19:44:47 +08:00
parent 4861230f56
commit 33088a9366
2 changed files with 29 additions and 5 deletions

View File

@@ -370,8 +370,8 @@ function fnGetList(pageNum?: number) {
});
// 取最大值ID用作实时累加
if (res.total > 0) {
modalState.maxId = Number(res.rows[0].id);
if (total > 0) {
modalState.maxId = Number(rows[0].id);
}
}
tableState.loading = false;