From 31fb9a502fb269e3bbbf9b04bc58bfc7e9e5277b Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Fri, 27 Sep 2024 15:10:49 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E5=B8=82=E5=9C=BA=E6=B3=95=E8=A7=84?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E7=9B=B4=E6=8E=A5=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MarketRegulationsList.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue index 4b7bb37..047a256 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue @@ -339,21 +339,21 @@ export default { this.$message.warning(this.$t('selectARecord')) } else { const ids = this.selectedRowKeys.join(',') - const that = this this.$confirm({ title: this.$t('standardRegulationLibrary.marketRegulationsList.confirmDirectRelease'), content: this.$t('standardRegulationLibrary.marketRegulationsList.directReleaseAData'), - onOk: function () { - that.loading = true + onOk: () => { + this.loading = true marketRegulationDirectRelease({ ids: ids }).then((res) => { if (res.success) { - that.$message.success(res.message) - that.loadData() + this.$message.success(res.message) + this.loadData() + this.onClearSelected() } else { - that.$message.warning(res.message) + this.$message.warning(res.message) } }).finally(() => { - that.loading = false + this.loading = false }) } })