Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:button multiple click #1205

Merged
merged 11 commits into from
Jul 26, 2023
Merged

fix:button multiple click #1205

merged 11 commits into from
Jul 26, 2023

Conversation

MayueCif
Copy link
Contributor

No description provided.

}).ToList();

_viewModel.RegisterFields = customLoginModel.RegisterFields;
StateHasChanged();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

事件里用 InvokeAsync(StateHasChanged)

Comment on lines 6 to 9
@inject IDistributedCacheClient _distributedCacheClient
@inject IAuthenticationSchemeProvider _schemeProvider
@inject ProtectedLocalStorage _localStorage
@inject EnvironmentDataService EnvironmentData
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

命名规则不统一

@@ -9,6 +9,7 @@
var masaStackConfig = builder.Services.GetMasaStackConfig();

// Add services to the container.
builder.Services.AddSingleton<EnvironmentDataService>();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
builder.Services.AddSingleton<EnvironmentDataService>();
builder.Services.AddScoped<EnvironmentDataService>();

Comment on lines 53 to 56
if (_cancellationTokenSource != null && !_cancellationTokenSource.IsCancellationRequested)
{
_cancellationTokenSource.Cancel();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_cancellationTokenSource?.Cancel();

不就可以了吗

@capdiem capdiem merged commit b0d7795 into main Jul 26, 2023
1 check passed
@capdiem capdiem deleted the fix/CaptchaSendTextField branch July 26, 2023 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants