<radio id="mRadio" text="单选按钮"/>
ui.id("mRadio").onCheck((isChecked) => { if (isChecked) { toast("单选按钮被选中"); } else { toast("单选按钮未选中"); } });