更新时间:2023-02-16 14:07:10
尝试:<button @onclick="() => SetTimer(timer.Id)">
<button @onclick="() => SetTimer(timer.Id)">
C#Blazor WebAssembly:参数2:无法从';void';转换为';Microsoft.AspNetCore.Components.EventCallback';