From 49b9d46a13460e4aa0146b9d9c997c908ccdd657 Mon Sep 17 00:00:00 2001 From: imeepos Date: Wed, 16 Jul 2025 16:52:44 +0800 Subject: [PATCH] fix: layout bug --- .../TemplateMatchingResultManager.tsx | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) 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" + /> +
{/* 状态过滤 */}