关于static getDerivedStateFromProps求教

#1

需要根据state改变调用摸个几人方法 原先是在componentWillReceiveProps中调用,用getDerivedStateFromProps代替之后 因为static 不能掉this 所以不知道怎么调用原来的方法了 求教

 UNSAFE_componentWillReceiveProps(nextProps)  {
        console.log('预期刷新'+JSON.stringify(nextProps))
        if (nextProps) {
            this._caculateMoney()
            this.setState({redrate:nextProps.redrate })
            
        }

    }