|
@@ -212,7 +212,9 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
if (this.payType === 'ALIPAY') {
|
|
if (this.payType === 'ALIPAY') {
|
|
|
if (this.inWeixin) {
|
|
if (this.inWeixin) {
|
|
|
- location.href = resolveUrl(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id);
|
|
|
|
|
|
|
+ document.location.replace(
|
|
|
|
|
+ resolveUrl(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id)
|
|
|
|
|
+ );
|
|
|
} else {
|
|
} else {
|
|
|
this.$http
|
|
this.$http
|
|
|
.get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${res.id}`)
|
|
.get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${res.id}`)
|