|
|
@@ -211,11 +211,13 @@ export default {
|
|
|
path.resolve(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id)
|
|
|
);
|
|
|
} else {
|
|
|
- this.$http.get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}`).then(res => {
|
|
|
- document.location.replace(
|
|
|
- 'alipays://platformapi/startapp?saId=10000007&qrcode=' + res
|
|
|
- );
|
|
|
- });
|
|
|
+ this.$http
|
|
|
+ .get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${res.id}`)
|
|
|
+ .then(res => {
|
|
|
+ document.location.replace(
|
|
|
+ 'alipays://platformapi/startapp?saId=10000007&qrcode=' + res
|
|
|
+ );
|
|
|
+ });
|
|
|
}
|
|
|
} else if (this.payType === 'WEIXIN') {
|
|
|
if (this.inWeixin) {
|