Skip to content

Commit

Permalink
fix: taro-runtime-rn lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen authored and Pines-Cheng committed Dec 28, 2020
1 parent 6ae2f67 commit 936e9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-runtime-rn/src/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export function createPageConfig (Page: any, pageConfig: PageConfig): any {
return result
}

isEnablePullDown(){
isEnablePullDown () {
const windowOptions = globalAny.__taroAppConfig?.appConfig?.window || {}
const { enablePullDownRefresh = false } = windowOptions
return pageConfig?.enablePullDownRefresh || enablePullDownRefresh
Expand Down

0 comments on commit 936e9b9

Please sign in to comment.