From 946e77b0bcf04a3ce7dc38524f77487134547676 Mon Sep 17 00:00:00 2001 From: youngS Date: Mon, 29 Mar 2021 19:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=A2=E5=8D=95=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/FirApps.vue | 2 +- fir_client/src/components/FirUserOrders.vue | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fir_client/src/components/FirApps.vue b/fir_client/src/components/FirApps.vue index ca5f315..757b95b 100644 --- a/fir_client/src/components/FirApps.vue +++ b/fir_client/src/components/FirApps.vue @@ -538,7 +538,7 @@ this.timmer = setTimeout(data => { this.$router.push({"name": 'FirUserOrders'}); this.buy_button_disable = false; - }, 2000); + }, 1000); } else { this.$message.error("异常" + res.msg); this.buy_button_disable = false; diff --git a/fir_client/src/components/FirUserOrders.vue b/fir_client/src/components/FirUserOrders.vue index d72704b..35c8644 100644 --- a/fir_client/src/components/FirUserOrders.vue +++ b/fir_client/src/components/FirUserOrders.vue @@ -213,13 +213,14 @@ }, methods: { goto_pay(order) { - // eslint-disable-next-line no-console - console.log(order) my_order(res => { // 应该跳转到第三方平台进行支付,然后第三方回调 if (res.code === 1000) { this.$message.success("支付成功"); - this.get_data_from_tabname(); + this.get_data_from_tabname({ + "size": this.pagination.pagesize, + "page": this.pagination.currentPage + }); } else { this.$message.error("失败了 " + res.msg) }