update Poptip capture default value

This commit is contained in:
梁灏 2019-10-07 23:43:31 +08:00
parent 3376939c0f
commit 363113f01f
8 changed files with 17 additions and 14 deletions

View file

@ -121,7 +121,7 @@
capture: {
type: Boolean,
default () {
return !this.$IVIEW ? true : this.$IVIEW.capture;
return !this.$IVIEW ? false : this.$IVIEW.capture;
}
}
},

View file

@ -30,6 +30,7 @@
placement="bottom"
popper-class="ivu-table-popper"
transfer
:capture="false"
@on-popper-hide="handleFilterHide(getColumn(rowIndex, index)._index)">
<span :class="[prefixCls + '-filter']">
<i class="ivu-icon ivu-icon-ios-funnel" :class="{on: getColumn(rowIndex, index)._isFiltered}"></i>