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

fix:获取验证码修改

parent 417f709f
......@@ -131,7 +131,7 @@ import {
kaGetNextUrl,
reissueContract
} from '@/api/pay.api.js';
const VCC_CHANNEL = localStorage.get('vccChannel');
const VCC_CHANNEL = localStorage.get('vccChannel') || '';
let Current_Url = null;
export default {
components: {
......@@ -617,11 +617,9 @@ export default {
retrieveLink() {
const { orderNo, hideOrder, returnUrl } = this.$route.query || {};
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}`;
url = url.replace('{token}', localStorage.get('vccToken'));
console.log(url);
// window.location.href = url;
window.location.href = url;
},
getObjectKey(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