Commit c067e2fe by dongshufeng

refactor(iesplan): radio is not ok

parent 313dce37
...@@ -205,8 +205,9 @@ impl ParaCard { ...@@ -205,8 +205,9 @@ impl ParaCard {
} else { } else {
current_f.to_string() current_f.to_string()
}; };
let value = f.to_string();
html! { html! {
<Radio update={link.callback(move |s| Msg::SetOption(i, s))} <Radio update={link.callback(move |_| Msg::SetOption(i, value.clone()))}
checked_value={checked_value} value={f.to_string()}> checked_value={checked_value} value={f.to_string()}>
<span>{to_show}</span> <span>{to_show}</span>
</Radio> </Radio>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论