This commit is contained in:
linfso 2025-06-20 13:57:54 +08:00
parent 0a6dce97f9
commit 08427cbe1e

View File

@ -170,19 +170,19 @@ export default {
};
},
created() {
const ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i)) {
this.isWx=true;
}
let code=this.$route.query.code;
let state=this.$route.query.state;
// console.log("====>created==code=state=>",code,state);
if (code) {
this.requestPayment(code,state);
this.this.billNo=state;
this.initPayOrder();
this.requestPayment(code,state);
this.this.billNo=state;
this.initPayOrder();
}else{
this.reset();
const ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i)) {
this.isWx=true;
}
this.initPayOrder();
}
},