Skip to content

Commit

Permalink
Merge branch 'master' into hotfix_KLTable
Browse files Browse the repository at this point in the history
  • Loading branch information
nupthale authored Aug 14, 2017
2 parents 141748a + 58d28f0 commit 27ecc60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/form/KLMultiSelect/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ const KLMultiSelect = Dropdown.extend({
},
// 删除某一项
delete(event, item) {
const data = this.data;
event && event.stopPropagation();
if (data.disabled || data.readonly) {
return;
}
this.toggle(true);
const data = this.data;
const _list = data.value.toString().split(data.separator);
_list.splice(
_list.indexOf((item[data.key].toString() || '').toString()),
Expand Down
3 changes: 3 additions & 0 deletions src/js/components/form/KLSelect/index.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
$border: $u-formctrl_border;
$border-radius: $border-radius-base;
overflow-y: auto;
position: relative;

.u-icon {
float: right;
width: auto;
line-height: inherit;
position: absolute;
right: 5px;
}

.u-select-errorIcon {
Expand Down
3 changes: 3 additions & 0 deletions src/js/components/navigation/KLPager/index.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ $m-pager_li_a_size = 24px;
width: 81px;
.dropdown_hd {
width: 80px;
.u-icon {
position: static;
}
}
}
}
Expand Down

0 comments on commit 27ecc60

Please sign in to comment.