diff --git a/apps/desktop/src/components/TemplateMatchingResultManager.tsx b/apps/desktop/src/components/TemplateMatchingResultManager.tsx index 4cfbe51..1d9b506 100644 --- a/apps/desktop/src/components/TemplateMatchingResultManager.tsx +++ b/apps/desktop/src/components/TemplateMatchingResultManager.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import { invoke } from '@tauri-apps/api/core'; -import { - TemplateMatchingResult, +import { + TemplateMatchingResult, TemplateMatchingResultQueryOptions, MatchingResultStatus, MatchingStatistics @@ -109,11 +109,11 @@ export const TemplateMatchingResultManager: React.FC('soft_delete_matching_result', { resultId: result.id, }); - + // 重新加载列表 await loadResults(); await loadStatistics(); - + setDeleteConfirm({ show: false, result: null }); } catch (err) { setError(`删除失败: ${err}`); @@ -187,13 +187,15 @@ export const TemplateMatchingResultManager: React.FC 搜索 - handleFilterChange({ searchKeyword: e.target.value })} - className="form-input h-8" - /> +
+ handleFilterChange({ searchKeyword: e.target.value })} + className="form-input h-10" + /> +
{/* 状态过滤 */}