This commit is contained in:
liaoxuezhi 2019-08-27 17:56:03 +08:00
commit 799d63b86b

View File

@ -1964,7 +1964,7 @@ export class HeadCellFilterDropDown extends React.Component<HeadCellFilterProps,
fetchOptions() {
const {env, filterable, data} = this.props;
isEffectiveApi(filterable.source, data) &&
env.fetcher(filterable.source).then(ret => {
env.fetcher(filterable.source, data).then(ret => {
let options = (ret.data && ret.data.options) || [];
this.setState({
filterOptions: ret && ret.data && this.alterOptions(options),