Authored by 张文文

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

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