fix: 修复 crud 中 actionType reload 其他组件失效问题

This commit is contained in:
liaoxuezhi 2022-06-10 15:59:25 +08:00 committed by GitHub
parent f713700e17
commit 7e6bd30ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -670,7 +670,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
throw e;
}
});
} else if (action.actionType === 'reload') {
} else if (action.actionType === 'reload' && !action.target) {
this.reload();
} else if (
pickerMode &&