duheng
2025-03-02 ada70acfd2daa1ff3d9f2ebc6cc937769e75fef7
WinFrmUI/HStation.WinFrmUI.Auth.Core/04-role-projcet-menu/RoleTreeListCtrl.cs
@@ -27,7 +27,7 @@
        /// <summary>
        /// 聚焦改变事件
        /// </summary>
        public event Action<Yw.Vmo.Role> FocusedChangedEvent;
        public event Action<Yw.Vmo.RoleVmo> FocusedChangedEvent;
        /// <summary>
        /// 所有绑定列表
@@ -40,9 +40,9 @@
        public async void InitialData()
        {
            var overlay = this.ShowOverlay();
            var allList = await BLLFactory<Yw.BLL.Role>.Instance.GetByCorpID(0);
            var allBindingList = await BLLFactory<Yw.BLL.Role>.Instance.GetByCorpID(GlobalParas._GlobalParas.CorpID);
            _allBindingList = new List<RoleTreeListViewModel>();
            allList?.ForEach(x =>
            allBindingList?.ForEach(x =>
            {
                var vm = new RoleTreeListViewModel(x);
                _allBindingList.Add(vm);