框架优化

This commit is contained in:
czj
2026-05-13 10:35:35 +08:00
committed by “hsc”
parent 362e509be1
commit 60d3009670
16 changed files with 11 additions and 918 deletions

View File

@@ -25,16 +25,6 @@ namespace MainModule.Views
InitializeComponent();
}
private void SearchBox_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Enter)
{
// 触发搜索命令
if (DataContext is ViewModels.MainViewModel viewModel)
{
viewModel.SearchCommand?.Execute(null);
}
}
}
}
}