Skip to content

Commit aba0d4d

Browse files
committed
refactor: 复用代码
1 parent bb01d76 commit aba0d4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/BootstrapBlazor/Components/Input/OtpInput.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected override void OnParametersSet()
107107
[JSInvokable]
108108
public Task TriggerSetValue(string val)
109109
{
110-
CurrentValueAsString = val;
110+
SetValue(val);
111111
return Task.CompletedTask;
112112
}
113113
}

0 commit comments

Comments
 (0)