Commit e8d742e8 authored by FE-安焕焕's avatar FE-安焕焕 👣

测试ocr

parent 2c5e3f95
...@@ -403,7 +403,6 @@ export default { ...@@ -403,7 +403,6 @@ export default {
this.retrieveLink(); this.retrieveLink();
return; return;
} }
console.log(params, 'params');
const paramsData = { const paramsData = {
...params, ...params,
quitUrl: Current_Url, quitUrl: Current_Url,
...@@ -473,6 +472,7 @@ export default { ...@@ -473,6 +472,7 @@ export default {
) { ) {
/* 密码或者短信鉴权 */ /* 密码或者短信鉴权 */
this.close(); this.close();
console.log(creditPayStatus, 'creditPayStatus');
this[`${creditPayStatusType[creditPayStatus]}Modal`] = true; this[`${creditPayStatusType[creditPayStatus]}Modal`] = true;
return; return;
} else if (creditPayStatus === FACE_VERIFICATION_CODE_PAY) { } else if (creditPayStatus === FACE_VERIFICATION_CODE_PAY) {
...@@ -485,7 +485,9 @@ export default { ...@@ -485,7 +485,9 @@ export default {
mergePayPretreatmentId: this.mergePayPretreatmentId mergePayPretreatmentId: this.mergePayPretreatmentId
}); });
this.close(); this.close();
this.goOcr(); setTimeout(() => {
this.goOcr();
}, 500);
} }
}, },
payResult(type, error) { payResult(type, error) {
...@@ -558,7 +560,7 @@ export default { ...@@ -558,7 +560,7 @@ export default {
type: 'xyqb', type: 'xyqb',
orderNo: this.orderNo, orderNo: this.orderNo,
flowOrderNo: this.flowOrderNo, flowOrderNo: this.flowOrderNo,
callBackUrl: `${window.location.href}&ocrflag=1` callBackUrl: encodeURIComponent(`${window.location.href}&ocrflag=1`)
}); });
cookies.set('ocrflag', 1); cookies.set('ocrflag', 1);
if (!res.callBackUrl) return; if (!res.callBackUrl) return;
......
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