Skip to content

Commit c2dff3d

Browse files
committed
doc: 增加注释
1 parent 7071535 commit c2dff3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BootstrapBlazor/Components/Checkbox/Checkbox.razor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,12 @@ public async ValueTask<bool> OnTriggerClickAsync(CheckboxState? state = null)
188188
var ret = await OnBeforeStateChanged(val);
189189
if (ret == false)
190190
{
191+
// 阻止状态改变
191192
return false;
192193
}
193194
}
194195

196+
// 改变状态 由点击事件触发
195197
var render = await InternalStateChanged(val);
196198
if (render)
197199
{

0 commit comments

Comments
 (0)