Skip to content

Commit

Permalink
feat: 支持radio控件的boolean类型的true和false与true和false比较
Browse files Browse the repository at this point in the history
  • Loading branch information
HuYuee committed Jun 27, 2017
1 parent 49d20d4 commit 9e74018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/keroa-radio.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ var RadioAdapter = u.BaseAdapter.extend({
var comp = ele['u.Radio'];
if (comp) {
var inptuValue = comp._btnElement.value;
//解决boolean类型的true和false与"true""false"比较
//解决boolean类型的true和false与"true""false"比较
if (inptuValue && inptuValue == value.toString()) {
fetch = true;
addClass(comp.element, 'is-checked')
Expand Down

0 comments on commit 9e74018

Please sign in to comment.