2dust 2026-03-04 19:11:31 +08:00
parent d9201157c8
commit 81da72bb39

View file

@ -1332,6 +1332,7 @@ public static class ConfigHandler
public static async Task<int> RemoveInvalidServerResult(Config config, string subid) public static async Task<int> RemoveInvalidServerResult(Config config, string subid)
{ {
var lstModel = await AppManager.Instance.ProfileModels(subid, ""); var lstModel = await AppManager.Instance.ProfileModels(subid, "");
lstModel.RemoveAll(t => t.ConfigType.IsComplexType());
if (lstModel is { Count: <= 0 }) if (lstModel is { Count: <= 0 })
{ {
return -1; return -1;