diff --git a/src/views/market/apitest/index.vue b/src/views/market/apitest/index.vue index d09c8c4..c545c5b 100644 --- a/src/views/market/apitest/index.vue +++ b/src/views/market/apitest/index.vue @@ -176,7 +176,7 @@ 取 消 - 确 定 + 确 定 @@ -343,12 +343,17 @@ export default { handleEdit(row) { this.selectedRow = row; }, - confirmSelection() { + confirmSelection(row) { this.dialogVisible1=false if (this.selectedRow) { // 这里假设你有一个发起支付的方法,传入所选行的数据 startPayment(this.selectedRow); + console.log(row) + window.open("http://localhost:9701/alipay/pay?middlePrice="+row.middlePrice) + this.$message.success('付款成功') + this.dialogVisible1 = false; + } else { // 如果没有选择任何行,给出提示 this.$message.warning('请先选择一项进行支付');