fix: 调整

This commit is contained in:
fujianchao 2024-10-29 16:06:15 +08:00 committed by lmaomaoz
parent 37cc524dcd
commit 1ae8ce40c0

View File

@ -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} />;
}
}