File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function asyncComponent(config) {
212212
const Component = es6Resolve(module)
213213
// eslint-disable-next-line no-nested-ternary
214214
return Component
215-
? <Component {...this.props} />
215+
? config.render ? config.render(Component) : <Component {...this.props} />
216216
: LoadingComponent ? <LoadingComponent {...this.props} /> : null
217217
}
218218
}

0 commit comments

Comments
 (0)