From 3946dfeabd7b5e0c3e9a84939541930aaee31665 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sat, 8 Jul 2023 20:02:59 +0800 Subject: [PATCH] Synchronization code --- .../SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs index dffc0965a..1a3db2537 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableHelper.cs @@ -687,8 +687,11 @@ namespace SqlSugar foreach (var it in managers) { var manager = it as NavigatManager; - manager.RootList = result; - manager.Execute(); + if (manager != null) + { + manager.RootList = result; + manager.Execute(); + } } } }