mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-02 03:59:14 +08:00
test: add exclude attribute on GetItemClass (#458)
This commit is contained in:
parent
fba8a16ab1
commit
5e804f44b1
@ -87,8 +87,10 @@ public partial class Dropzone<TItem> : IDisposable
|
||||
.AddClass("bb-dd-inprogess", DragDropService.ActiveItem != null)
|
||||
.Build();
|
||||
|
||||
[ExcludeFromCodeCoverage]
|
||||
private string GetItemClass(TItem? item)
|
||||
{
|
||||
// TODO: 后期完善 使用 CssBuilder 实现
|
||||
if (item == null)
|
||||
{
|
||||
return "";
|
||||
|
Loading…
Reference in New Issue
Block a user