Skip to content

Commit

Permalink
fix: 修改下拉框在取消选中的时候不更新title
Browse files Browse the repository at this point in the history
  • Loading branch information
HuYuee committed Aug 2, 2017
1 parent 2f853b9 commit 835b236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/neoui-combo.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ var Combo = u.BaseComponent.extend({
}
var nWidth = comboDiv.offsetWidth + 20;
this._combo_name_par.removeChild(comboDiv);
//当多选下拉框在取消选中的时候也更新title
this._combo_name_par.title = this.name;
this.nowWidth -= nWidth;
if (fflag) {
this.showNowWidth -= nWidth;
Expand Down

0 comments on commit 835b236

Please sign in to comment.