msb_prod
ch 2 years ago
parent 17997d90b1
commit 163fda762b

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-07-08 11:46:30 * @Date: 2022-07-08 11:46:30
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-07-12 14:44:17 * @LastEditTime: 2022-07-12 14:47:21
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -117,14 +117,14 @@ const ENV = process.env;
const {error, result} = await this.getPayData('WX_H5'); const {error, result} = await this.getPayData('WX_H5');
if(result){ if(result){
// h5windowAPI // h5windowAPI
window.location.replace(data.payDataInfo.h5Url); window.location.replace(result.payDataInfo.h5Url);
} }
}, },
async aliPay(){ async aliPay(){
const {error, result} = await this.getPayData('ALI_WAP'); const {error, result} = await this.getPayData('ALI_WAP');
if(result){ if(result){
// h5windowAPI // h5windowAPI
window.location.replace(data.payDataInfo.payUrl); window.location.replace(result.payDataInfo.payUrl);
} }
}, },
async getPayData(payCode){ async getPayData(payCode){

Loading…
Cancel
Save