mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:48:49 +08:00
Merge branch 'master' of https://github.com/baidu/amis
This commit is contained in:
commit
799d63b86b
@ -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
Block a user