Activities of "2250368121"

@page @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Localization @using Volo.Abp.Account.Settings @using Volo.Abp.Account.Web.Pages.Account; @using Volo.Abp.AspNetCore.Mvc.UI.Theming; @using Volo.Abp.Identity; @using Volo.Abp.Settings @model Volo.Abp.Account.Web.Pages.Account.LoginModel @inject IHtmlLocalizer<AccountResource> L @inject IThemeManager ThemeManager @inject Volo.Abp.Settings.ISettingProvider SettingProvider

@{ Layout = ThemeManager.CurrentTheme.GetAccountLayout(); }

@section scripts { <abp-script-bundle name="@typeof(LoginModel).FullName"> <abp-script src="/Pages/Account/Login.js" /> </abp-script-bundle> }

@if (Model.ShowRequireMigrateSeedMessage) { <div class="alert alert-danger"> <h4 class="alert-heading">@L["RequireMigrateSeedTitle"]</h4> <p>@L["RequireMigrateSeedMessage"]</p> </div> }

<div class="card mt-3 shadow-sm rounded"> <div class="card-body p-5"> <h4>@L["Login"]</h4> @* @if (await SettingProvider.IsTrueAsync(AccountSettingNames.IsSelfRegistrationEnabled)) { <strong> @L["CreateANewAccount"] <a href="@Url.Page("./Register", new { returnUrl = Model.ReturnUrl, returnUrlHash = Model.ReturnUrlHash })" class="text-decoration-none">@L["Register"]</a> </strong> } @ @ @if (Model.EnableLocalLogin) { *@ <form method="post" class="mt-4"> <!-- 租户选择 (新增自定义租户选择) --> <div class="mb-3"> <label asp-for="LoginInput.TenantName" class="form-label">@L["Tenant"]</label> <select asp-for="LoginInput.TenantName" asp-items="@(new SelectList(Model.TenantList, "Name", "DisplayName", Model.LoginInput.TenantName))" class="form-select"> <option value=""> </option> </select> <span asp-validation-for="LoginInput.TenantName" class="text-danger"></span> </div> <div class="mb-3"> <label asp-for="LoginInput.UserNameOrEmailAddress" class="form-label">@L["UserNameOrEmailAddress"]</label> <input asp-for="LoginInput.UserNameOrEmailAddress" class="form-control" /> <span asp-validation-for="LoginInput.UserNameOrEmailAddress" class="text-danger"></span> </div>

            &lt;div class=&quot;mb-3&quot;&gt;
                &lt;label asp-for=&quot;LoginInput.Password&quot; class=&quot;form-label&quot;&gt;@L["Password"]&lt;/label&gt;
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;input type=&quot;password&quot; class=&quot;form-control&quot; autocomplete=&quot;new-password&quot; maxlength=&quot;@IdentityUserConsts.MaxPasswordLength&quot; asp-for=&quot;LoginInput.Password&quot; /&gt;
                    &lt;button class=&quot;btn btn-secondary&quot; type=&quot;button&quot; id=&quot;PasswordVisibilityButton&quot;&gt;&lt;i class=&quot;fa fa-eye-slash&quot; aria-hidden=&quot;true&quot;&gt;&lt;/i&gt;&lt;/button&gt;
                &lt;/div&gt;
                &lt;span asp-validation-for=&quot;LoginInput.Password&quot;&gt;&lt;/span&gt;
            &lt;/div&gt;
            &lt;abp-row&gt;
                &lt;abp-column&gt;
                    &lt;abp-input asp-for=&quot;LoginInput.RememberMe&quot; label=&quot;@L[&quot;RememberMe&quot;].Value&quot; class=&quot;mb-4&quot; /&gt;
                &lt;/abp-column&gt;
                &lt;abp-column class=&quot;text-end&quot;&gt;
                    &lt;a href=&quot;@Url.Page(&quot;./ForgotPassword&quot;, new { returnUrl = Model.ReturnUrl, returnUrlHash = Model.ReturnUrlHash })&quot;&gt;@L["ForgotPassword"]&lt;/a&gt;
                &lt;/abp-column&gt;
            &lt;/abp-row&gt;
            &lt;div class=&quot;d-grid gap-2&quot;&gt;
                &lt;abp-button type=&quot;submit&quot; button-type=&quot;Primary&quot; name=&quot;Action&quot; value=&quot;Login&quot; class=&quot;btn-lg mt-3&quot;&gt;@L["Login"]&lt;/abp-button&gt;
                @if (Model.ShowCancelButton)
                {
                    &lt;abp-button type=&quot;submit&quot; button-type=&quot;Secondary&quot; formnovalidate=&quot;formnovalidate&quot; name=&quot;Action&quot; value=&quot;Cancel&quot; class=&quot;btn-lg mt-3&quot;&gt;@L["Cancel"]&lt;/abp-button&gt;
                }
            &lt;/div&gt;
        &lt;/form&gt;
    @* } *@
    &lt;!-- 保留 ReturnUrl / ReturnUrlHash --&gt;
    &lt;input type=&quot;hidden&quot; asp-for=&quot;@Model.ReturnUrl&quot; value=&quot;https://localhost:4200&quot; /&gt;
    &lt;input type=&quot;hidden&quot; asp-for=&quot;@Model.ReturnUrlHash&quot; value=&quot;&quot;/&gt;
     @* @if (Model.VisibleExternalProviders.Any())
    {
        &lt;div class=&quot;mt-2&quot;&gt;
            &lt;h5&gt;@L["OrLoginWith"]&lt;/h5&gt;
            &lt;form asp-page=&quot;./Login&quot; asp-page-handler=&quot;ExternalLogin&quot; asp-route-returnUrl=&quot;@Model.ReturnUrl&quot; asp-route-returnUrlHash=&quot;@Model.ReturnUrlHash&quot; method=&quot;post&quot;&gt;
                @foreach (var provider in Model.VisibleExternalProviders)
                {
                    &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary m-1&quot; name=&quot;provider&quot; value=&quot;@provider.AuthenticationScheme&quot; title=&quot;@L[&quot;LogInUsingYourProviderAccount&quot;, provider.DisplayName]&quot;&gt;@provider.DisplayName&lt;/button&gt;
                }
            &lt;/form&gt;
        &lt;/div&gt;
    } *@

    @if (!Model.EnableLocalLogin && !Model.VisibleExternalProviders.Any())
    {
        &lt;div class=&quot;alert alert-warning&quot;&gt;
            &lt;strong&gt;@L["InvalidLoginRequest"]&lt;/strong&gt;
            @L["ThereAreNoLoginSchemesConfiguredForThisClient"]
        &lt;/div&gt;
    }

&lt;/div&gt;

</div>

客户环境上需要使用UAT账号,无法提供在线的URL

我目前用的是ABP商业版9.3.1的版本

"QRSPC.BaseSetService.Localization.BaseSetServiceResource": { "texts": { "Permission:Books": "Books", "Permission:BaseSetService": "基础设置", "Permission:Create": "创建", "Permission:Edit": "编辑", "Permission:Delete": "删除", "Books": "Books", "NewBook": "New Book", "Book": "Book", "Menu:Books": "Books", "SeeAdvancedFilters": "Filters", "DeleteConfirmationMessage": "Are you sure you want to delete this record?", "AreYouSure": "Are you sure?", "Search": "Search", "Pick": "Pick", "Actions": "Actions", "SuccessfullyDeleted": "Successfully deleted", "ExportToExcel": "导出Excel", "AllItemsAreSelected": "所有'{0}'项都被选中.", "OneItemOnThisPageIsSelected": "1 item on this page is selected", "NumberOfItemsOnThisPageAreSelected": "All {0} items on this page are selected", "SelectAllItems": "选择所有项", "ClearSelection": "清除选择", "DeleteAllRecords": "Are you sure you want to delete all records?", "DeleteSelectedRecords": "Are you sure you want to delete {0} record(s)?", "UploadFailedMessage": "Upload Failed: Unsupported file format or file size too large. Please ensure the file meets the required format and size limits, and try again.", "DownloadSelectedFile": "Download selected file", "RemoveSelectedFile": "Remove selected file", "Filters": "过滤", "BName": "B Name", "BCode": "B Code", "BMemo": "B Memo", "MinBName": "Min B Name", "MinBCode": "Min B Code", "MinBMemo": "Min B Memo", "MaxBName": "Max B Name", "MaxBCode": "Max B Code", "MaxBMemo": "Max B Memo", "BookDetails": "Book Details", "NewBookDetail": "New Book Detail", "BookDetail": "Book Detail", "Menu:BookDetails": "Book Details", "BDetailName": "B Detail Name", "BDetailCode": "B Detail Code", "MinBDetailName": "Min B Detail Name", "MinBDetailCode": "Min B Detail Code", "MaxBDetailName": "Max B Detail Name", "MaxBDetailCode": "Max B Detail Code", "Permission:BookDetails": "Book Details", "Permission:WorkStationSettings": "工位", "WorkStationSettings": "工位", "NewWorkStationSetting": "新建工位", "WorkStationSetting": "工位", "Menu:WorkStationSettings": "工位", "WorkStationSettingBaseCode": "工位编号", "WorkStationSettingBaseName": "工位名称", "BaseSetService": "基础设置" }, "baseResources": [ "AbpValidation", "AbpUi" ] }, 这是basesetservice中文资源包加载失败时https://spc-msa-sit.sungrow.cn/api/abp/application-localization?cultureName=zh-Hans&onlyDynamics=false 接口返回的bastsetService的资源数据与解决方案中的不一致 是redis的问题吗

好的 我先试试 谢谢您

[Maliming] said: 你的这个页面是MVC还是Angular?

是Angular 的

redis 工作正常

过了个把小时就会正常

编译重启后大概率就会出现语言加载问题 这是 baseSet源码 地址Deleted 感谢您!

namespace QRSPC.AdministrationService;

[DependsOn( typeof(AbpAuditLoggingEntityFrameworkCoreModule), typeof(TextTemplateManagementEntityFrameworkCoreModule), typeof(SaasEntityFrameworkCoreModule), typeof(BlobStoringDatabaseEntityFrameworkCoreModule), typeof(AbpPermissionManagementEntityFrameworkCoreModule), typeof(AbpFeatureManagementEntityFrameworkCoreModule), typeof(AbpSettingManagementEntityFrameworkCoreModule), typeof(LanguageManagementEntityFrameworkCoreModule), typeof(AbpEntityFrameworkCoreMySQLPomeloModule), typeof(AbpOpenIddictProDomainSharedModule), typeof(TextTemplateManagementApplicationModule), typeof(TextTemplateManagementHttpApiModule), typeof(LeptonXThemeManagementApplicationModule), typeof(LeptonXThemeManagementHttpApiModule), typeof(AbpAspNetCoreMvcUiMultiTenancyModule), typeof(QRSPCAdministrationServiceContractsModule), typeof(AbpPermissionManagementApplicationModule), typeof(AbpPermissionManagementHttpApiModule), typeof(AbpPermissionManagementDomainIdentityModule), typeof(AbpPermissionManagementDomainOpenIddictModule), typeof(AbpFeatureManagementApplicationModule), typeof(AbpFeatureManagementHttpApiModule), typeof(AbpSettingManagementApplicationModule), typeof(AbpSettingManagementHttpApiModule), typeof(AbpAutofacModule), typeof(AbpAspNetCoreSerilogModule), typeof(AbpSwashbuckleModule), typeof(AbpEventBusRabbitMqModule), typeof(AbpBackgroundJobsRabbitMqModule), typeof(AbpCachingStackExchangeRedisModule), typeof(AbpDistributedLockingModule), typeof(AbpAspNetCoreAuthenticationJwtBearerModule), typeof(AbpIdentityHttpApiClientModule), typeof(AbpStudioClientAspNetCoreModule) )] 这是administraiton 的依赖模块 是否要加上LanguageManagementDomainModule的引用?

Showing 11 to 20 of 38 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.