mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +08:00
filterable.source ctx问题
This commit is contained in:
parent
f5cb8b3185
commit
d139a4eb84
@ -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