hi
Yes.
https://docs.abp.io/en/commercial/latest/startup-templates/microservice/interservice-communication
But I am not using microservice template,I use the multi-module nuget management mode
hi
You can consider the ETO, which is defined on the
Domain.Shared
module.https://docs.abp.io/en/abp/latest/Distributed-Event-Bus#event-transfer-object
Or the
Integration Services.
https://docs.abp.io/en/abp/latest/Integration-Services
Can I query the quantity of goods in an order in the order module directly from the product module? This eliminates the need for redundant fields
Can you share your solution, it might help others, thanks
Sure.Set key for TabPanel in foreach
<Tabs Class="custom-nav-tabs" SelectedTab="@selectedTab" SelectedTabChanged="@OnSelectedTabChanged">
<Items>
@foreach (var tab in RouteDataList)
{
<Tab Class="tab keep-tab-active" Name="@tab.TabName">
<Span Class="tab-span">@tab.Title</Span>
<Button @onclick:stopPropagation="true" Clicked="()=>ClosePage(tab)" Class="close-button">×</Button>
</Tab>
}
</Items>
<Content>
@foreach (var route in RouteDataList)
{
<TabPanel @key="route.Url" Class="keep-panel-active" Name="@route.TabName">
<ContentTabToolbar RouteData="route"></ContentTabToolbar>
@route.Body
</TabPanel>
}
</Content>
</Tabs>
Yes, but I have no idea about this now.
It is related to Blazor's comparison algorithm. @key specifies the key used by the diffing algorithm to retain the elements in the set. I have solved this problem, thank you.
Yes, but I have no idea about this now.
Sometimes clicking the close button won't refresh, it's really weird
This may be the limitation of blazorise and blazor (I'm not sure)
Add custom
class
andstopPropagation
: The page will flash, but it works.<Tab Name="@tab.TabName" Class="keep-tab-active"> @tab.Title <CloseButton @onclick:stopPropagation="true" Clicked="() => ClosePage(tab)"/> </Tab> .... <TabPanel Name="@route.TabName" Class="keep-panel-active" > ....
Hi,This flash will clear all input boxes and other conditions,It's like refreshing
Clicking the close button will trigger the SelectedTabChanged method of Tabs