完成Mqtt服务器页的导航

This commit is contained in:
2025-07-04 23:34:54 +08:00
parent f86ce8194b
commit 2e9586bfdf
6 changed files with 24 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ public class MqttRepository
var result = await _db.Queryable<DbMqtt>().ToListAsync();
stopwatch.Stop();
Logger.Info($"获取所有Mqtt配置耗时{stopwatch.ElapsedMilliseconds}ms");
return result.CopyTo<List<Mqtt>>();
return result.Select(m=>m.CopyTo<Mqtt>()).ToList();
}
}