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