有没有办法获取单选按钮的标签?
例如我有
viewof classification = radio({
options: [
{ label: "Underweight", value: "Underweight" },
{ label: "Healthy Weight", value: "Normal" },
{ label: "Overweight", value: "Overweight" },
{ label: "Obese", value: "Obese" }
],
value: "Underweight"
})
如果我想访问“健康体重”标签而不是classification
“正常”的值,有可能吗?