diff --git a/src/views/market/apitype/index.vue b/src/views/market/apitype/index.vue index b7f1c5f..739a775 100644 --- a/src/views/market/apitype/index.vue +++ b/src/views/market/apitype/index.vue @@ -154,11 +154,11 @@ export default { this.getList(); }, methods: { - gotoMaintained(customer){ + async gotoMaintained(customer){ this.pay.subject=customer.sysIntro this.pay.traceNo=Math.floor(Math.random() * 900000) + 100000 this.pay.totalAmount=customer.sysNumber - const url = `http://10.0.2.1:81/pay/alipay/pay?subject=${this.pay.subject}&traceNo=${this.pay.traceNo}&totalAmount=${this.pay.totalAmount}`; + const url = `http://10.0.2.1:81/alipay/pay?subject=${this.pay.subject}&traceNo=${this.pay.traceNo}&totalAmount=${this.pay.totalAmount}`; window.open(url, '_self'); // 如果您想在当前页面加载新 URL,这样是正确的 }, getType(activeNameL){