From 3a45833ac9556bf0cde547ce3e4598c9e28dd86d Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Thu, 15 Dec 2022 19:07:43 +0800 Subject: [PATCH] crud.js --- nladmin-ui/src/components/Crud/crud.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nladmin-ui/src/components/Crud/crud.js b/nladmin-ui/src/components/Crud/crud.js index 12196e3..4544ff1 100644 --- a/nladmin-ui/src/components/Crud/crud.js +++ b/nladmin-ui/src/components/Crud/crud.js @@ -146,8 +146,8 @@ function CRUD(options) { table.store.states.treeData = {} table.store.states.lazyTreeNodeMap = {} } - crud.page.total = data.total - crud.data = data.records + crud.page.total = data.totalElements + crud.data = data.content crud.resetDataStatus() // time 毫秒后显示表格 setTimeout(() => {