Skip to content

Commit 7071535

Browse files
committed
refactor: 更新关键字
1 parent dc82e3e commit 7071535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/Checkbox/Checkbox.razor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function init(id, invoke, method) {
2424
el.parentElement.classList.add('is-checked');
2525
}
2626
}
27-
var result = await invoke.invokeMethodAsync(method, state == "1" ? 0 : 1);
27+
const result = await invoke.invokeMethodAsync(method, state == "1" ? 0 : 1);
2828
if (result === false) {
2929
e.preventDefault();
3030
}

0 commit comments

Comments
 (0)