File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
framework/src/Volo.Abp.BlazoriseUI Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -357,10 +357,10 @@ await InvokeAsync(async () =>
357
357
}
358
358
}
359
359
360
- protected virtual Task CloseCreateModalAsync ( )
360
+ protected virtual async Task CloseCreateModalAsync ( )
361
361
{
362
+ await InvokeAsync ( CreateModal ! . Hide ) ;
362
363
NewEntity = new TCreateViewModel ( ) ;
363
- return InvokeAsync ( CreateModal ! . Hide ) ;
364
364
}
365
365
366
366
protected virtual Task ClosingCreateModal ( ModalClosingEventArgs eventArgs )
@@ -474,11 +474,11 @@ protected virtual Task OnCreatingEntityAsync()
474
474
475
475
protected virtual async Task OnCreatedEntityAsync ( )
476
476
{
477
- NewEntity = new TCreateViewModel ( ) ;
478
477
await GetEntitiesAsync ( ) ;
479
478
480
479
await InvokeAsync ( CreateModal ! . Hide ) ;
481
480
await Notify . Success ( GetCreateMessage ( ) ) ;
481
+ NewEntity = new TCreateViewModel ( ) ;
482
482
}
483
483
484
484
protected virtual string GetCreateMessage ( )
You can’t perform that action at this time.
0 commit comments