第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

我想問下這些代碼是什么意思?

我想問下這些代碼是什么意思?

慕碼人1183263 2016-10-25 22:34:20
? componentWillReceiveProps(nextProps) { //這是狀態(tài)發(fā)生變化是會調用該函數的意思嗎?? ? ? ? if (this.props.sign !== nextProps.sign) {//是如果本次的狀態(tài)和上次狀態(tài)不一樣時的意思嗎?? ? ? ? ? ? const user = nextProps.sign.get('user');//獲取本次輸入的用戶? ? ? ? ? ? if (user && user !== this.props.sign.get('user')) {? ? ? ? ? ? ? ? browserHistory.push('/console/')//這是什么意思?? ? ? ? ? ? } else if (nextProps.sign.has('signinError')) {? ? ? ? ? ? ? ? this.props.form.setFieldsValue({password: ''});//設置password控件的值為空? ? ? ? ? ? ? ? window.alert(nextProps.sign.getIn(['signinError', 'errMsg']));//彈出一個警示框顯示錯誤? ? ? ? ? ? }? ? ? ? }? ? }
查看完整描述

1 回答

  • 1 回答
  • 2 關注
  • 1730 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號