📅  最后修改于: 2022-03-11 14:55:03.485000             🧑  作者: Mango
@inject Services.AppData AppData
Display Component
You entered the number @AppData.Number.
@code {
protected override void OnInitialized()
{
AppData.OnChange += StateHasChanged;
}
}