Commit 4e9aa392 authored by FE-安焕焕's avatar FE-安焕焕 👣

ocr认证回掉密码框展示问题

parent 05cc267b
......@@ -218,10 +218,11 @@ export default {
cookies.set('orderNo', { orderNo: this.orderNo });
if (this.$route?.query?.ocrflag || cookies.get('ocrflag')) {
this.payInfo = cookies.get('info') || {};
this.flowOrderNo = this.payInfo?.paramsData?.flowOrderNo || '';
cookies.remove('ocrflag');
cookies.remove('info');
// 先支付再查询信息
this.flowOrderNo = cookies.get('flowOrderNo');
console.log(this.payInfo?.paramsData);
this.pay(this.payInfo?.paramsData, 'ocr', cookies.get('ocrflag'));
}
const vccToken = localStorage.get('vccToken');
......@@ -456,7 +457,7 @@ export default {
}
error?.message && this.$toast(error?.message);
this.error = error?.message;
this.retrieve();
this.pwdModal && this.retrieve();
return;
}
const { creditPayInfo = {}, wxPayInfo = {}, flowOrderNo, aliPayInfo = {} } = data;
......@@ -494,9 +495,7 @@ export default {
mergePayPretreatmentId: this.mergePayPretreatmentId
});
this.close();
setTimeout(() => {
this.goOcr();
}, 500);
this.goOcr();
}
},
payResult(type, error) {
......@@ -564,6 +563,7 @@ export default {
},
/* 走h5活体流程 */
async goOcr() {
cookies.set('flowOrderNo', this.flowOrderNo);
const [res] = await ocrFaceId({
isH5: true,
type: 'xyqb',
......
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