merge
This commit is contained in:
commit
9ed6fd4cad
|
@ -1,3 +1,8 @@
|
|||
<a name="1.5.14"></a>
|
||||
## [1.5.14](https://github.com/tinper-bee/bee-table/compare/v1.5.13...v1.5.14) (2018-11-28)
|
||||
|
||||
|
||||
|
||||
<a name="1.5.13"></a>
|
||||
## [1.5.13](https://github.com/tinper-bee/bee-table/compare/v1.5.12...v1.5.13) (2018-11-28)
|
||||
|
||||
|
|
|
@ -230,7 +230,7 @@ var FilterType = function (_Component) {
|
|||
format: format,
|
||||
locale: _zh_CN2["default"]
|
||||
})),
|
||||
filterDropdown == 'show' && _react2["default"].createElement(_FilterDropDown2["default"], {
|
||||
_react2["default"].createElement(_FilterDropDown2["default"], {
|
||||
locale: locale,
|
||||
onSelectDropdown: onSelectDropdown,
|
||||
onClickClear: _this.clearDateValue,
|
||||
|
@ -252,7 +252,7 @@ var FilterType = function (_Component) {
|
|||
dateInputPlaceholder: ['开始', '结束'],
|
||||
showClear: true
|
||||
})),
|
||||
filterDropdown == 'show' && _react2["default"].createElement(_FilterDropDown2["default"], {
|
||||
_react2["default"].createElement(_FilterDropDown2["default"], {
|
||||
locale: locale,
|
||||
onSelectDropdown: onSelectDropdown,
|
||||
onClickClear: _this.clearDateValue,
|
||||
|
@ -268,7 +268,7 @@ var FilterType = function (_Component) {
|
|||
className: className,
|
||||
onChange: onChange
|
||||
}),
|
||||
filterDropdown == 'show' && _react2["default"].createElement(_FilterDropDown2["default"], { locale: locale,
|
||||
_react2["default"].createElement(_FilterDropDown2["default"], { locale: locale,
|
||||
onSelectDropdown: onSelectDropdown
|
||||
})
|
||||
);
|
||||
|
|
|
@ -14182,7 +14182,7 @@
|
|||
format: format,
|
||||
locale: _zh_CN2['default']
|
||||
})),
|
||||
filterDropdown == 'show' && _react2['default'].createElement(_FilterDropDown2['default'], {
|
||||
_react2['default'].createElement(_FilterDropDown2['default'], {
|
||||
locale: locale,
|
||||
onSelectDropdown: onSelectDropdown,
|
||||
onClickClear: _this.clearDateValue,
|
||||
|
@ -14204,7 +14204,7 @@
|
|||
dateInputPlaceholder: ['开始', '结束'],
|
||||
showClear: true
|
||||
})),
|
||||
filterDropdown == 'show' && _react2['default'].createElement(_FilterDropDown2['default'], {
|
||||
_react2['default'].createElement(_FilterDropDown2['default'], {
|
||||
locale: locale,
|
||||
onSelectDropdown: onSelectDropdown,
|
||||
onClickClear: _this.clearDateValue,
|
||||
|
@ -14220,7 +14220,7 @@
|
|||
className: className,
|
||||
onChange: onChange
|
||||
}),
|
||||
filterDropdown == 'show' && _react2['default'].createElement(_FilterDropDown2['default'], { locale: locale,
|
||||
_react2['default'].createElement(_FilterDropDown2['default'], { locale: locale,
|
||||
onSelectDropdown: onSelectDropdown
|
||||
})
|
||||
);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bee-table",
|
||||
"version": "1.5.13",
|
||||
"version": "1.5.14",
|
||||
"description": "Table ui component for react",
|
||||
"keywords": [
|
||||
"react",
|
||||
|
|
|
@ -174,14 +174,14 @@ class FilterType extends Component {
|
|||
open={this.state.open}
|
||||
format={format}
|
||||
locale={zhCN}
|
||||
/>{filterDropdown == 'show' && <FilterDropDown
|
||||
/><FilterDropDown
|
||||
locale={locale}
|
||||
onSelectDropdown={onSelectDropdown}
|
||||
onClickClear={this.clearDateValue}
|
||||
isShowCondition={filterDropdown}
|
||||
isShowClear={this.state.dateValue}
|
||||
>
|
||||
</FilterDropDown>}
|
||||
</FilterDropDown>
|
||||
</div>
|
||||
case 'daterange':
|
||||
return <div className={`${clsPrefix} filter-wrap`}>
|
||||
|
@ -195,14 +195,14 @@ class FilterType extends Component {
|
|||
placeholder={'开始 ~ 结束'}
|
||||
dateInputPlaceholder={['开始', '结束']}
|
||||
showClear={true}
|
||||
/>{filterDropdown == 'show' && <FilterDropDown
|
||||
/><FilterDropDown
|
||||
locale={locale}
|
||||
onSelectDropdown={onSelectDropdown}
|
||||
onClickClear={this.clearDateValue}
|
||||
isShowCondition={filterDropdown}
|
||||
isShowClear={this.state.dateValue}
|
||||
>
|
||||
</FilterDropDown>}
|
||||
</FilterDropDown>
|
||||
</div>
|
||||
case 'bool':
|
||||
return <div className={`${clsPrefix} filter-wrap`}>
|
||||
|
@ -210,10 +210,10 @@ class FilterType extends Component {
|
|||
className={className}
|
||||
onChange={onChange}
|
||||
/>
|
||||
{filterDropdown == 'show' && <FilterDropDown locale={locale}
|
||||
<FilterDropDown locale={locale}
|
||||
onSelectDropdown={onSelectDropdown}
|
||||
>
|
||||
</FilterDropDown>}
|
||||
</FilterDropDown>
|
||||
</div>
|
||||
default:
|
||||
return <div></div>;
|
||||
|
|
Loading…
Reference in New Issue