Authored by chenl

调整方法名。review by 张丽霞。

@@ -49,7 +49,7 @@ class InstallmentAccountContainer extends Component { @@ -49,7 +49,7 @@ class InstallmentAccountContainer extends Component {
49 49
50 50
51 _onPressMyCard() { 51 _onPressMyCard() {
52 - this.props.actions.gotoMyCards(); 52 + this.props.actions.gotoMyCard();
53 } 53 }
54 54
55 render() { 55 render() {
@@ -60,14 +60,8 @@ class InstallmentMyCardContainer extends Component { @@ -60,14 +60,8 @@ class InstallmentMyCardContainer extends Component {
60 } 60 }
61 61
62 render() { 62 render() {
63 - let {installmentStausPageInfo,error} = this.props.installment;  
64 - if (error) {  
65 - return (  
66 - <ServerError  
67 - reloadPage={this._reloadPage}  
68 - />  
69 - );  
70 - } 63 + let {installmentStausPageInfo} = this.props.installment;
  64 +
71 return ( 65 return (
72 <InstallmentStatus 66 <InstallmentStatus
73 installmentStausPageInfo={installmentStausPageInfo} 67 installmentStausPageInfo={installmentStausPageInfo}
@@ -553,7 +553,7 @@ export function gotoRepayRecordList() { @@ -553,7 +553,7 @@ export function gotoRepayRecordList() {
553 553
554 554
555 555
556 -export function gotoMyCards() { 556 +export function gotoMyCard() {
557 let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.instalmentMyCard","params":{}}`; 557 let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.instalmentMyCard","params":{}}`;
558 ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url); 558 ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
559 } 559 }