我在Router选项卡中定义了我的场景,如下所示:{}}rightButtonImage={NOTIFICATION_ICON}onLeft={()=>{}}leftButtonImage={NAV_SEARCH_ICON}/>使用上面的代码,我可以使用以下代码从我的最新屏幕进行导航操作:componentDidMount(){this.props.navigation.setParams({'onRight':this.showNotifications,'onLeft':this.showSearch,})}因此,为了从最新屏幕更新rightButtonImage,我尝试在setP