From 35af16dacf79aa7c58d46d273643c451814f6fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Mon, 29 Jan 2024 13:38:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E4=BA=A4=E4=BA=92=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=20=20From=20DB=E8=A1=A8=E5=8D=95=20=20=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E6=9F=A5=E8=AF=A2=E6=95=B0=E6=8D=AE=E5=A4=A7?= =?UTF-8?q?=E4=BA=8E1=E9=A1=B5=20=20=E5=88=87=E6=8D=A2=E5=88=B0=E7=AC=AC2?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E6=95=B0=E6=8D=AE=20=20=E7=84=B6=E5=90=8E?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E5=85=B6=E4=BB=96=E6=9D=A1=E4=BB=B6=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E6=9F=A5=E8=AF=A2=20=20=E6=96=B0=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=E5=B0=8F=E4=BA=8E1=E9=A1=B5=20=E5=9B=9E?= =?UTF-8?q?=E6=98=BE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Modals/LoadFromDBModal.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue b/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue index e8f25a4..b356b6b 100644 --- a/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue +++ b/src/views/spectrumAnalysis/components/Modals/LoadFromDBModal.vue @@ -162,6 +162,11 @@ export default { }, methods: { loadData(arg) { + debugger + //加载数据 若传入参数1则加载第一页的内容 + if (arg === 1) { + this.ipagination.current = 1 + } const params = this.getQueryParams() //查询条件 const { startDate, endDate, menuTypes } = params if (!menuTypes) { @@ -179,11 +184,6 @@ export default { return } - //加载数据 若传入参数1则加载第一页的内容 - if (arg === 1) { - this.ipagination.current = 1 - } - params.AllUsers = this.allUsersValue params.CollectStopB = this.collectStopValue params.AcqStartB = this.acqStartValue