一次性加载数据同步问题

This commit is contained in:
2betop 2020-07-03 17:11:32 +08:00
parent 2cc4e101f6
commit 9e3641571c
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,9 @@
background-color: $Form-input-onError-bg;
}
&.is-focused {
&.is-focused,
&:focus {
outline: none;
border-color: $Form-input-onFocused-borderColor;
box-shadow: $Form-input-boxShadow;

View File

@ -443,7 +443,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
action.reload
? this.reloadTarget(action.reload, data)
: this.search({[pageField || 'page']: 1}, undefined, true);
: this.search({[pageField || 'page']: 1}, undefined, true, true);
action.close && this.closeTarget(action.close);
const redirect = action.redirect && filter(action.redirect, data);