From b1788762a77350bfa586d90147f1c5d3b61d7c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=AC=A3=E6=82=A6?= <2289014031@qq.com> Date: Thu, 5 Sep 2024 11:28:55 +0800 Subject: [PATCH] ok --- src/views/market/apitest/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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('请先选择一项进行支付');