md
This commit is contained in:
parent
0a6dce97f9
commit
08427cbe1e
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user