File tree
Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Expand file treeCollapse file tree1 file changed
+1
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -212,7 +212,7 @@ function asyncComponent(config) {
|
212 | 212 | const Component = es6Resolve(module)
|
213 | 213 | // eslint-disable-next-line no-nested-ternary
|
214 | 214 | return Component
|
215 |
| -? <Component {...this.props} /> |
| 215 | +? config.render ? config.render(Component) : <Component {...this.props} /> |
216 | 216 | : LoadingComponent ? <LoadingComponent {...this.props} /> : null
|
217 | 217 | }
|
218 | 218 | }
|
|
You can’t perform that action at this time.
0 commit comments