File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/renderer-core/src/renderer Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,6 @@ export default function baseRendererFactory(): IBaseRenderComponent {
131131
132132 static contextType = AppContext ;
133133
134- appHelper ?: IRendererAppHelper ;
135134 i18n : any ;
136135 getLocale : any ;
137136 setLocale : any ;
@@ -174,7 +173,6 @@ export default function baseRendererFactory(): IBaseRenderComponent {
174173 __beforeInit ( _props : IBaseRendererProps ) { }
175174
176175 __init ( props : IBaseRendererProps ) {
177- this . appHelper = props . __appHelper ;
178176 this . __compScopes = { } ;
179177 this . __instanceMap = { } ;
180178 this . __bindCustomMethods ( props ) ;
@@ -1019,6 +1017,10 @@ export default function baseRendererFactory(): IBaseRenderComponent {
10191017 return ! isSchema ( schema ) || ! componentNames . includes ( schema ?. componentName ?? '' ) ;
10201018 } ;
10211019
1020+ get appHelper ( ) : IRendererAppHelper {
1021+ return this . props . __appHelper ;
1022+ }
1023+
10221024 get requestHandlersMap ( ) {
10231025 return this . appHelper ?. requestHandlersMap ;
10241026 }
You can’t perform that action at this time.
0 commit comments