mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: 调整
This commit is contained in:
parent
37cc524dcd
commit
1ae8ce40c0
@ -216,7 +216,7 @@ const TimelineWithRemoteConfig = withRemoteConfig({
|
||||
}
|
||||
}
|
||||
render() {
|
||||
const {config, items, deferLoad, loading, updateConfig, source, ...rest} =
|
||||
const {config, items, deferLoad, loading, updateConfig, ...rest} =
|
||||
this.props;
|
||||
|
||||
let sourceItems: Array<TimelineItemSchema> = config
|
||||
@ -227,7 +227,6 @@ const TimelineWithRemoteConfig = withRemoteConfig({
|
||||
title: config[key]
|
||||
}))
|
||||
: items || [];
|
||||
|
||||
return <TimelineCmpt items={sourceItems} {...rest} />;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user