From 042c507127becbbacf41484c47aaf2347ce5ca5b Mon Sep 17 00:00:00 2001 From: Oscar Date: Thu, 11 Dec 2025 15:28:55 +0800 Subject: [PATCH] =?UTF-8?q?refactor(commandPanel):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=20filterState=20=E5=B8=B8?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commandPanel/composables/useCommandFilters.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dashboard/src/views/commandPanel/composables/useCommandFilters.ts b/dashboard/src/views/commandPanel/composables/useCommandFilters.ts index 02e954c2c..f7d5bbc0e 100644 --- a/dashboard/src/views/commandPanel/composables/useCommandFilters.ts +++ b/dashboard/src/views/commandPanel/composables/useCommandFilters.ts @@ -162,16 +162,6 @@ export function useCommandFilters(commands: Ref) { return expandedGroups.value.has(cmd.handler_full_name); }; - // 导出过滤状态 - const filterState: FilterState = { - searchQuery: searchQuery.value, - pluginFilter: pluginFilter.value, - permissionFilter: permissionFilter.value, - statusFilter: statusFilter.value, - typeFilter: typeFilter.value, - showSystemPlugins: showSystemPlugins.value - }; - return { // 状态 searchQuery,