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

pull/7042/head
2dust 2025-03-29 19:48:15 +08:00
parent e0750df96c
commit 1e11477e27
1 changed files with 1 additions and 1 deletions

View File

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