Result: ' + jsonData.result.res + '
'; } else { resultDiv.innerHTML += 'Result information is not available.
'; + // 这里假设你有一个发起支付的方法,传入所选行的数据 + // startPayment(this.selectedRow); + console.log(row) + window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice) + this.$message.success('付款成功') + } // 将结果div添加到容器中 container.appendChild(resultDiv); + } //测试次数-1 reducetestcount(this.myapi).then(response=>{}) } + }, //生命周期 - 创建完成(可以访问当前this实例)", created() { diff --git a/src/views/market/orders/index.vue b/src/views/market/orders/index.vue index 95c7221..968cabc 100644 --- a/src/views/market/orders/index.vue +++ b/src/views/market/orders/index.vue @@ -30,11 +30,14 @@ -