Authored by chenl

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

... ... @@ -49,7 +49,7 @@ class InstallmentAccountContainer extends Component {
_onPressMyCard() {
this.props.actions.gotoMyCards();
this.props.actions.gotoMyCard();
}
render() {
... ...
... ... @@ -60,14 +60,8 @@ class InstallmentMyCardContainer extends Component {
}
render() {
let {installmentStausPageInfo,error} = this.props.installment;
if (error) {
return (
<ServerError
reloadPage={this._reloadPage}
/>
);
}
let {installmentStausPageInfo} = this.props.installment;
return (
<InstallmentStatus
installmentStausPageInfo={installmentStausPageInfo}
... ...
... ... @@ -553,7 +553,7 @@ export function gotoRepayRecordList() {
export function gotoMyCards() {
export function gotoMyCard() {
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.instalmentMyCard","params":{}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
}
... ...