From f7ae62d39b665a29c71bb4312bdffa9eaa1e26b1 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期二, 05 八月 2025 10:40:48 +0800
Subject: [PATCH] fix:bug

---
 FlexJobApi.User.Application/Menus/Commands/SaveMenuCommandHandler.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/FlexJobApi.User.Application/Menus/Commands/SaveMenuCommandHandler.cs b/FlexJobApi.User.Application/Menus/Commands/SaveMenuCommandHandler.cs
index a7f7c2a..59550fc 100644
--- a/FlexJobApi.User.Application/Menus/Commands/SaveMenuCommandHandler.cs
+++ b/FlexJobApi.User.Application/Menus/Commands/SaveMenuCommandHandler.cs
@@ -98,6 +98,7 @@
                                 UserType = entity.UserType,
                                 ClientType = entity.ClientType,
                                 Type = EnumMenuType.Button,
+                                VisitLevel = entity.VisitLevel,
                             };
                             entity.Children.Add(buttonEntity);
                         }
@@ -121,6 +122,7 @@
                             UserType = entity.UserType,
                             ClientType = entity.ClientType,
                             Type = EnumMenuType.Field,
+                            VisitLevel = entity.VisitLevel,
                         };
                         entity.Children.Add(fieldEntity);
                     }

--
Gitblit v1.9.1