Skip to content

Commit 5cce125

Browse files
fix: 🐛 修复Radio点击失效的问题
Closes: #596
1 parent efcd4bb commit 5cce125

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/uni_modules/wot-design-uni/components/wd-radio

src/uni_modules/wot-design-uni/components/wd-radio/wd-radio.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ watch(
100100
*/
101101
function handleClick() {
102102
const { value } = props
103-
if (!disabledValue.value && radioGroup && !isDef(value)) {
103+
if (!disabledValue.value && radioGroup && isDef(value)) {
104104
radioGroup.updateValue(value)
105105
}
106106
}

0 commit comments

Comments
 (0)