forked from p96170835/amis
filterable.source ctx问题
This commit is contained in:
parent
cea7d532da
commit
55109ad153
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue