From 4a5989c23c468d376a8abe72abe1a534708dbfe2 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 27 十一月 2024 20:18:51 +0800 Subject: [PATCH] 增加方案工况 --- WinFrmUI/HStation.WinFrmUI.Auth.Core/04-ViewModel/MenuViewModel.cs | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Auth.Core/04-ViewModel/MenuViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Auth.Core/04-ViewModel/MenuViewModel.cs index f40dc33..0175fa3 100644 --- a/WinFrmUI/HStation.WinFrmUI.Auth.Core/04-ViewModel/MenuViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Auth.Core/04-ViewModel/MenuViewModel.cs @@ -1,9 +1,4 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Yw.Dto; +锘縰sing Yw.Dto; namespace HStation.WinFrmUI.Auth { @@ -32,11 +27,11 @@ this.Type = rhs.Type; this.Permission = rhs.Permission; this.IsHide = rhs.IsHide; - if(rhs.Weight == Yw.Vmo.eAuthWeight.Normal) + if (rhs.Weight == Yw.Vmo.eAuthWeight.Normal) { this.Weight = Yw.Auth.eAuthWeight.Normal; } - else if(rhs.Weight == Yw.Vmo.eAuthWeight.Admin) + else if (rhs.Weight == Yw.Vmo.eAuthWeight.Admin) { this.Weight = Yw.Auth.eAuthWeight.Admin; } -- Gitblit v1.9.3