diff --git a/src/views/rvDriverAuthentication/personAudit.vue b/src/views/rvDriverAuthentication/personAudit.vue index f43040af..852488f2 100644 --- a/src/views/rvDriverAuthentication/personAudit.vue +++ b/src/views/rvDriverAuthentication/personAudit.vue @@ -171,12 +171,14 @@ this.$toast('身份证正面照片未上传') return } + const urlParams = new URLSearchParams(window.location.search); + let token = urlParams.get('token'); if(this.form.name && this.form.identityCardNumber) { let res = await driverRealName( { phone: this.form.phone, name: this.form.name, idNo: this.form.identityCardNumber, - token:this.getParam('token'), + token:token }) let info = res?.data console.log('info', info)