Skip to content

Commit

Permalink
fix: 单选组内部值初始值赋值错误 (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
YufJi committed Dec 28, 2023
1 parent 21526fd commit 7d9d372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radio-group/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default createComponent({
},
data() {
return {
datatemp: this.value || null,
datatemp: this.value ?? null,
options: [],
};
},
Expand Down

0 comments on commit 7d9d372

Please sign in to comment.