Skip to content

Commit 0998703

Browse files
committed
feat: 更新 JavaScript 交互
1 parent 31476ac commit 0998703

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/BootstrapBlazor/Components/Mask/Mask.razor.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
4343

4444
if (!firstRender)
4545
{
46-
await InvokeVoidAsync("update", Id, new { Show = _options != null, _options?.ContainerId });
46+
await InvokeVoidAsync("update", Id, new
47+
{
48+
Show = _options != null,
49+
_options?.ContainerId,
50+
_options?.Selector
51+
});
4752
}
4853
}
4954

0 commit comments

Comments
 (0)