parent
a704fa4bb1
commit
51cc9087ca
|
@ -112,7 +112,7 @@ export default {
|
|||
async navigateToRecharge() {
|
||||
try {
|
||||
const response = await checkRealNameAuth(this.authForm);
|
||||
if (response.data && response.data.isAuthenticated) {
|
||||
if (response.data && response.data.desc) {
|
||||
// 如果已实名认证,直接跳转页面
|
||||
this.$router.push('/money/zfb');
|
||||
} else {
|
||||
|
@ -130,7 +130,7 @@ export default {
|
|||
try {
|
||||
const {name, idCard} = this.authForm;
|
||||
const authResponse = await checkRealNameAuth(this.authForm);
|
||||
if (authResponse.code == 200) {
|
||||
if (authResponse.data && authResponse.data.desc) {
|
||||
this.$message.success('实名认证成功');
|
||||
this.dialogVisible = false;
|
||||
this.$router.push('/money/zfb');
|
||||
|
|
Loading…
Reference in New Issue