From bbd39f290d16eaab595c969b523a2855a1470173 Mon Sep 17 00:00:00 2001 From: rickcole Date: Tue, 17 Mar 2020 11:15:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcrud=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9C=AA=E5=88=9D=E5=A7=8B=E5=8C=96=E6=97=B6=EF=BC=8Cdialog?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=BC=B9=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/CRUD.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/CRUD.tsx b/src/renderers/CRUD.tsx index 7f235da9f..453021a5a 100644 --- a/src/renderers/CRUD.tsx +++ b/src/renderers/CRUD.tsx @@ -317,7 +317,7 @@ export default class CRUD extends React.Component { if (action.actionType === 'dialog') { store.setCurrentAction(action); const idx: number = (ctx as any).index; - const length = store.data.items.length; + const length = store.items.length; stopAutoRefreshWhenModalIsOpen && clearTimeout(this.timer); store.openDialog(ctx, { hasNext: idx < length - 1,