能够发送 /user/kyc1 请求给后台了
This commit is contained in:
@@ -96,13 +96,13 @@ const IdentityPage: React.FC<DispatchProp & UserModelState & IdentityModelState>
|
||||
type="primary"
|
||||
size="large"
|
||||
loading={kyc1Submitting}
|
||||
onClick={() => dispatch({ type: 'identity/real1submit' })}
|
||||
>{formatMessage({ id: 'identity.real1btn' })}</Button>
|
||||
onClick={() => dispatch({ type: 'identity/kyc1submit' })}
|
||||
>{formatMessage({ id: 'identity.kyc1btn' })}</Button>
|
||||
</div>}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default connect(
|
||||
({ user, account }: any) => ({ ...user, ...account }),
|
||||
({ user, identity }: any) => ({ ...user, ...identity }),
|
||||
)(IdentityPage);
|
||||
|
||||
Reference in New Issue
Block a user