Open Closed

An error is reported after referencing a user-defined component #4617


User avatar
0
jiaqizhang created

I need a multi-tab page in the breadcrumb component of the page. Now I have found a plug-in library called "MASA. Blazor". When I register the service into my project, I find that the basic functions of ABP, such as audit log, cannot be opened, and an error is reported, resulting in page crash

  • **ABP Framework version:**6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • **Tiered no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share steps and code to reproduce this in the new template project.

  • User Avatar
    0
    jiaqizhang created

    1 Reference MASABrazor service in my project 2 Configure the service 3 Cancel_ The "LeptonXTheme. Components" reference in the Host.cshtml page because the multi-tab component needs to transform the App.razor page, so I transform the App.razor from the framework to my project This is my app.razor. In my project's app.razor, I also transformed "SideMenuLayout" into my project This is my SideMenuLayout.razor And I created two pages for testing and configured their menus 4 The plug-in can work normally after the project is started

    But when I enter the basic module of ABP, for example, when I click the audit log page page, it will crash like this

  • User Avatar
    0
    jiaqizhang created

    Thank you and look forward to your reply

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I read MASA.Blazor document but didn't know its design ideas.

    Maybe it can't be compatible with abp, I'm not sure.

    I suggest you get help from MASA.Blazor

  • User Avatar
    0
    jiaqizhang created

    ok... By the way, is there any case of multiple tabs in your team? Now I need to save the web page opened by the customer and save its status

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    we are using the blazorise library.

    https://blazorise.com/docs/components/tab

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11