Commit ecbe7516 authored by ben.liu's avatar ben.liu

fix:获取验证码修改

parent 417f709f
...@@ -131,7 +131,7 @@ import { ...@@ -131,7 +131,7 @@ import {
kaGetNextUrl, kaGetNextUrl,
reissueContract reissueContract
} from '@/api/pay.api.js'; } from '@/api/pay.api.js';
const VCC_CHANNEL = localStorage.get('vccChannel'); const VCC_CHANNEL = localStorage.get('vccChannel') || '';
let Current_Url = null; let Current_Url = null;
export default { export default {
components: { components: {
...@@ -617,11 +617,9 @@ export default { ...@@ -617,11 +617,9 @@ export default {
retrieveLink() { retrieveLink() {
const { orderNo, hideOrder, returnUrl } = this.$route.query || {}; const { orderNo, hideOrder, returnUrl } = this.$route.query || {};
const redirectUrl = `${window.location.origin}${window.location.pathname}?orderNo=${orderNo}&hideOrder=${hideOrder}&returnUrl=${returnUrl}`; const redirectUrl = `${window.location.origin}${window.location.pathname}?orderNo=${orderNo}&hideOrder=${hideOrder}&returnUrl=${returnUrl}`;
console.log(VCC_CHANNEL);
let url = `${this.creditPayInfo.forgetPwdJumpUrl}&vccChannel=${VCC_CHANNEL}&redirectUrl=${redirectUrl}`; let url = `${this.creditPayInfo.forgetPwdJumpUrl}&vccChannel=${VCC_CHANNEL}&redirectUrl=${redirectUrl}`;
url = url.replace('{token}', localStorage.get('vccToken')); url = url.replace('{token}', localStorage.get('vccToken'));
console.log(url); window.location.href = url;
// window.location.href = url;
}, },
getObjectKey(obj) { getObjectKey(obj) {
return Object.keys(obj); return Object.keys(obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment