Commit f986736b authored by Xuguangxing's avatar Xuguangxing

add alert

parent b49f9b15
...@@ -61,6 +61,7 @@ function payByWeixinH5(info) { ...@@ -61,6 +61,7 @@ function payByWeixinH5(info) {
} }
const vccToken = localStorage.get('vccToken'); const vccToken = localStorage.get('vccToken');
const orderNo = cookies.get('orderNo')?.orderNo; const orderNo = cookies.get('orderNo')?.orderNo;
alert('aaaaa-' + orderNo);
info.params.isWxH5 = 1; info.params.isWxH5 = 1;
info.params.vccToken = vccToken; info.params.vccToken = vccToken;
info.params.orderNo = orderNo; info.params.orderNo = orderNo;
...@@ -109,6 +110,7 @@ function payByALIH5(info) { ...@@ -109,6 +110,7 @@ function payByALIH5(info) {
function payByThirdPartyCashier(info) { function payByThirdPartyCashier(info) {
if (!info.url) return; if (!info.url) return;
const orderNo = cookies.get('orderNo')?.orderNo; const orderNo = cookies.get('orderNo')?.orderNo;
alert('bbbb-' + orderNo)
info.params.third = 1; info.params.third = 1;
info.params.orderNo = orderNo; info.params.orderNo = orderNo;
const currentPath = encodeURIComponent( const currentPath = encodeURIComponent(
......
...@@ -222,6 +222,7 @@ export default { ...@@ -222,6 +222,7 @@ export default {
this.getQuery(); this.getQuery();
this.setIsOrder(); this.setIsOrder();
this.orderNo = this.$route.query.orderNo || cookies.get('orderNo')?.orderNo; this.orderNo = this.$route.query.orderNo || cookies.get('orderNo')?.orderNo;
alert(this.orderNo);
cookies.set('orderNo', { orderNo: this.orderNo }); cookies.set('orderNo', { orderNo: this.orderNo });
if (this.$route?.query?.ocrflag) { if (this.$route?.query?.ocrflag) {
this.payInfo = cookies.get('info') || {}; this.payInfo = cookies.get('info') || {};
......
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