Activities of "liangshiwei"

I will check it out

Hi,

You can check and share your logs.

It works for me, it will not be minified, but it will still be added to the same bundle file.

Hi,

We will fix it in the next patch version:

You can try this:

MyUserManagement.razor.cs

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(UserManagement))]
public partial class MyUserManagement : UserManagement
{
    protected override async Task OnInitializedAsync()
    {
        await SetPermissionsAsync();
        await SetEntityActionsAsync();
        await SetTableColumnsAsync();
        await InvokeAsync(StateHasChanged);

        Roles = (await AppService.GetAssignableRolesAsync()).Items;
        RequireConfirmedEmail = await SettingProvider.IsTrueAsync(IdentitySettingNames.SignIn.RequireConfirmedEmail);
    }

    protected virtual async Task OnAdvancedFilterSectionClick()
    {
        ShowAdvancedFilters = !ShowAdvancedFilters;

        if (ShowAdvancedFilters)
        {
            await GetOrganizationUnitsAsync();
        }
    }
}

MyUserManagement.razor

https://gist.github.com/realLiangshiwei/bc88b4c7a9b1d7757084da05f179e5fe

Hi,

Yes, we will fix it in the next patch version. (7.0.2)

Hi,

We have FQA about this, you can see: https://commercial.abp.io/faq#what-happens-when-license-ends

Hi,

Could you provide steps to reproduce the issue? thanks.

Related question: https://support.abp.io/QA/Questions/4458

Hi,

Sorry, that is my fault. I copied the wrong content. style-initializer.js should be :

(function () {

    function isAlreadyLoaded(id) {
        return document.querySelector(`link[id^="lpx-theme-${id}-"]`)?.id;
    }

    function loadThemeCSS(key, event, cssPrefix) {
        const newThemeId = createId(event.detail.theme, key);
        const previousThemeId = createId(event.detail.previousTheme, key);
        const loadedCSS = isAlreadyLoaded(key);

        if (newThemeId !== loadedCSS) {
            leptonx.replaceStyleWith(
                createStyleUrl(cssPrefix + event.detail.theme),
                newThemeId,
                previousThemeId || loadedCSS
            );
        }
    }

    function createId(theme, type) {
        return theme && `lpx-theme-${type}-${theme}`;
    }

    window.initLeptonX = function (layout = currentLayout, defaultStyle = "dim") {
        window.currentLayout = layout;

        leptonx.globalConfig.defaultSettings =
            {
                appearance: defaultStyle,
                containerWidth: 'full',
            };

        leptonx.CSSLoadEvent.on(event => {
            loadThemeCSS('bootstrap', event, 'bootstrap-');
            loadThemeCSS('color', event, '');
        });

        leptonx.init.run();
    }

    const oldAfterLeptonXInitialization = window.afterLeptonXInitialization;

    window.afterLeptonXInitialization = function () {
        if(oldAfterLeptonXInitialization){
            oldAfterLeptonXInitialization();
        }
    }

    function createStyleUrl(theme, type) {

        if (isRtl()) {
            theme = theme + '.rtl';
        }

        if (type) {
            return `_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/${window.currentLayout}/css/${type}-${theme}.css`
        }
        return `_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/${window.currentLayout}/css/${theme}.css`;
    }

    function isRtl() {
        return document.documentElement.getAttribute('dir') === 'rtl';
    }
})();

Hi,

Can you try dotnet clean ,dotnet build and abp bundle again?

You can share a project with me if the problem still exists, I will check it. shiwei.liang@volosoft.com

Hi,

Did you update the BundleContributor?

Showing 4561 to 4570 of 6693 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.1.0-preview. Updated on November 07, 2025, 08:20