Browse Source

Merge pull request #22868 from abpframework/auto-merge/rel-9-1/3722

Merge branch rel-9.2 with rel-9.1
pull/22869/head
maliming 1 year ago
committed by GitHub
parent
commit
dd546fe078
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs
  2. 21
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliUrls.cs

5
framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs

@ -552,6 +552,11 @@ public abstract class AbpCrudPageBase<
protected virtual async Task OnDeletedEntityAsync() protected virtual async Task OnDeletedEntityAsync()
{ {
if (Entities.Count == 1 && CurrentPage > 1)
{
CurrentPage -= 1;
}
await GetEntitiesAsync(); await GetEntitiesAsync();
await InvokeAsync(StateHasChanged); await InvokeAsync(StateHasChanged);
await Notify.Success(GetDeleteMessage()); await Notify.Success(GetDeleteMessage());

21
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliUrls.cs

@ -5,9 +5,24 @@ namespace Volo.Abp.Cli;
public static class CliUrls public static class CliUrls
{ {
public static string WwwAbpIo = WwwAbpIoProduction; public static string WwwAbpIo
public static string AccountAbpIo = AccountAbpIoProduction; {
public static string NuGetRootPath = NuGetRootPathProduction; get => WwwAbpIoProduction;
set => WwwAbpIoProduction = value;
}
public static string AccountAbpIo
{
get => AccountAbpIoProduction;
set => AccountAbpIoProduction = value;
}
public static string NuGetRootPath
{
get => NuGetRootPathProduction;
set => NuGetRootPathProduction = value;
}
public static string LatestVersionCheckFullPath = "https://raw.githubusercontent.com/abpframework/abp/dev/latest-versions.json"; public static string LatestVersionCheckFullPath = "https://raw.githubusercontent.com/abpframework/abp/dev/latest-versions.json";
public static string WwwAbpIoProduction = "https://abp.io/"; public static string WwwAbpIoProduction = "https://abp.io/";

Loading…
Cancel
Save