Skip to content

Commit

Permalink
fix(mini-runner): 移除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Dec 26, 2019
1 parent 51abf44 commit dca8ab8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/taro-mini-runner/src/loaders/fileParseLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function processAst (
let hasComponentDidHide
let hasComponentDidShow
let hasComponentWillMount
let hasEnablePageScroll
if (isQuickApp) {
cannotRemoves.push(taroJsComponents)
}
Expand Down Expand Up @@ -149,8 +148,6 @@ function processAst (
hasComponentDidShow = true
} else if (keyName === 'componentDidHide') {
hasComponentDidHide = true
} else if (keyName === 'onPageScroll' || keyName === 'onReachBottom') {
hasEnablePageScroll = true
}
},

Expand Down

0 comments on commit dca8ab8

Please sign in to comment.