Merge remote-tracking branch 'baidu/master'

This commit is contained in:
2betop 2020-03-17 17:22:52 +08:00
commit 6b930a74fd
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
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,