duheng
2024-12-24 63834af1872ab37f22a5e67b5df20a082f7a052a
WinFrmUI/HStation.WinFrmUI.Auth.Core/04-ViewModel/MenuViewModel.cs
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yw.Dto;
using 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;
            }