Permalink
Browse files

feat: 支持radio控件的boolean类型的true和false与true和false比较

  • Loading branch information...
HuYuee committed Jun 27, 2017
1 parent 49d20d4 commit 9e7401893c62ed1e389f3b484c8a75b1c281c556
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/keroa-radio.js
View
@@ -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')

0 comments on commit 9e74018

Please sign in to comment.