Skip to content

Commit

Permalink
feat: 添加reade
Browse files Browse the repository at this point in the history
  • Loading branch information
HuYuee committed Jun 29, 2017
1 parent 4f0bd06 commit 8caaa85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/neoui-combo.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ var Combo = u.BaseComponent.extend({
if (hasClass(this.element, 'mutil-select')) { if (hasClass(this.element, 'mutil-select')) {
this.mutilSelect = true this.mutilSelect = true
} }

//onlySelect=true,可以设置单选下拉框为readonly


this.onlySelect = this.options['onlySelect'] || false; this.onlySelect = this.options['onlySelect'] || false;
if (this.mutilSelect) if (this.mutilSelect)
this.onlySelect = true; this.onlySelect = true;
Expand Down

0 comments on commit 8caaa85

Please sign in to comment.