Skip to content

Commit

Permalink
fix: 修复一个历史性的 bug,props 更新后 KeepAlive 内容不更新的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CJY0208 authored May 23, 2022
1 parent 80aa2a9 commit fe7114d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Bridge/Context/ConsumerWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class ConsumerWrapper extends Component {
run(this.updateListener, 'forEach', (fn) => fn(value))
}

return shouldUpdate
return true
}

render() {
Expand Down

0 comments on commit fe7114d

Please sign in to comment.