File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/taro-runtime-rn/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export function createPageConfig (Page: any, pageConfig: PageConfig): any {
138138 dimensionsSubscription : EmitterSubscription | undefined
139139 isPageReady : boolean
140140
141- constructor ( props : any ) {
141+ constructor ( props : any ) {
142142 super ( props )
143143 const refreshStyle = globalAny ?. __taroRefreshStyle ?? { }
144144 const backgroundTextStyle =
@@ -291,7 +291,7 @@ export function createPageConfig (Page: any, pageConfig: PageConfig): any {
291291 Current . page = inst
292292 }
293293
294- pullDownRefresh = ( path , refresh ) => {
294+ pullDownRefresh = ( { path, refresh } ) => {
295295 if ( getPageStr ( path ) === getPageStr ( pagePath ) ) {
296296 this . setState ( { refreshing : refresh } )
297297 }
You can’t perform that action at this time.
0 commit comments