12
09/24
解决.NET Blazor子组件不刷新问题
子组件Room: @code { [Parameter] public int filterOfficeId { get; set; } = 0; protected override Task OnParametersSetAsync() { this.pageIndex = 1; onSearch(); return base.OnParametersSetAsync(); } 父组件Office: <Button Size="small" @onclick="() => showRooms(context.Title,context.Id)">管理</Button> <Modal Visible="roomPopup" Width="1200" MaskClosable="false" Title="@("【"+officeTitle+...