mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
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
Block a user