Authored by 张文文

身份证绑定成功更新store里绑定状态

... ... @@ -1445,6 +1445,9 @@ export function bindIdentityCard(cardFrontUrl, cardBackUrl) {
dispatch(showToastMessage('绑定成功'));
ReactNative.NativeModules.YH_CommonHelper.goBack();
//绑定成功后更新绑定状态
dispatch(getIdentityCardInfo());
})
.catch(error => {
dispatch(bindIdentityCardFailure(error));
... ...