When add a new routing rule, add it to the top

This commit is contained in:
2dust 2025-03-29 19:48:15 +08:00
parent e0750df96c
commit 1e11477e27

View file

@ -141,7 +141,7 @@ namespace ServiceLib.ViewModels
{ {
if (blNew) if (blNew)
{ {
_rules.Add(item); _rules.Insert(0, item);
} }
RefreshRulesItems(); RefreshRulesItems();
} }