From 23ecc0afdee9b1fceb16e94dce178f0e2bcf7caf Mon Sep 17 00:00:00 2001 From: danshihao Date: Thu, 2 Nov 2023 17:41:26 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=80=89=E6=8B=A9=E6=A0=87=E5=87=86?= =?UTF-8?q?=E7=A6=81=E7=94=A8=E6=9D=A5=E6=BA=90=E9=87=8D=E7=BD=AE=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/selection/StandardSelectionModal.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/selection/StandardSelectionModal.vue b/src/components/selection/StandardSelectionModal.vue index bea5da60..147398c0 100644 --- a/src/components/selection/StandardSelectionModal.vue +++ b/src/components/selection/StandardSelectionModal.vue @@ -184,7 +184,12 @@ export default { this.replacePage() }, searchReset () { - this.queryParam = {} + // 如果禁用来源,就不重置来源 + if (this.disabledSourceSearch) { + this.queryParam = { source: this.source } + } else { + this.queryParam = {} + } this.replacePage() }, // 表格选择改变