From 2bfd6e9f7fd195c7c4ffd965f92ff8c3aed3cc9f Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 19 Dec 2025 11:57:27 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BB=BC=E5=90=88=E5=B9=B4=E5=BA=A6:?= =?UTF-8?q?=20=E5=B0=8F=E7=BB=84:=20=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Trade.js | 5 ++++- src/views/Home.jsx | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/stores/Trade.js b/src/stores/Trade.js index 39acbd5..2762357 100644 --- a/src/stores/Trade.js +++ b/src/stores/Trade.js @@ -338,7 +338,10 @@ class Trade { this.targetTableProps.dataSource = [].concat(Object.values(finalTargetData.targetGuest), Object.values(finalTargetData.targetCountry)); // [finalTargetData.targetTotal], // todo: 总数是重复的 }; - searchValues = {}; + searchValues = { + // DepartmentList: undefined, + }; + setSearch(body, form) { this.searchPayloadHome = body; this.searchValues = form; diff --git a/src/views/Home.jsx b/src/views/Home.jsx index 84c396f..f35e52c 100644 --- a/src/views/Home.jsx +++ b/src/views/Home.jsx @@ -203,8 +203,8 @@ export default observer(() => { }, shows: ['DateType', 'DepartmentList', 'WebCode', 'IncludeTickets', 'years'], fieldProps: { - DepartmentList: { show_all: true }, - WebCode: { show_all: true }, + DepartmentList: { show_all: false, mode: 'multiple' }, + WebCode: { show_all: true, mode: 'multiple' }, years: { hide_vs: false }, }, }}