Permalink
Browse files

feat: 增加switchRender可以赋值0和1来设置开关

  • Loading branch information...
HuYuee committed Jul 13, 2017
1 parent 18930c9 commit 6654ccf23d40dda93fb2fba06c42e7d2a1c25e12
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/keroa-grid.js
View
@@ -356,7 +356,7 @@ var GridAdapter = u.BaseAdapter.extend({
var checkStr = '',
disableStr = '';
if (obj.value == 'Y' || obj.value == 'true') {
if (obj.value == 'Y' || obj.value == 'true' || obj.value == '1') {
checkStr = 'checked';
}
disableStr = ' is-disabled';

0 comments on commit 6654ccf

Please sign in to comment.