图标怎么用,静态写死的可以用的, 但是 http请求后图标不能刷新
icetech233 opened this issue · 1 comments
icetech233 commented
protected override async Task OnInitializedAsync()
{
StockCountResp stockCountResp = await bizSrv.GetStockCountAsync();
List<StockRawItem> _skulist = stockCountResp.Data.Raw;
var groupList = _skulist.GroupBy(x => x.WarehouseName).ToList();
foreach (var _g in groupList)
{
PieItem pieItem = new PieItem(_g.Key, _g.Count());
data1.Add(pieItem);
}
Console.WriteLine(JsonSerializer.Serialize(data1));
data1 = data1.ToList();
await base.OnInitializedAsync();
}
icetech233 commented
额 , 不用了,原来是 @ref