Explorar o código

一级目录去掉\r

DuGuYang %!s(int64=2) %!d(string=hai) anos
pai
achega
82f78f923a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Util/AdminRightList.cs

+ 1 - 1
Util/AdminRightList.cs

@@ -23,7 +23,7 @@ namespace MySystem
             foreach (RightDic sub1 in Level1)
             {
                 AdminRightListItem menu1 = new AdminRightListItem();
-                menu1.path = sub1.Path;
+                menu1.path = sub1.Path.Replace("\r", "");
                 menu1.name = sub1.Name;
                 // menu1.component = sub1.Component;
                 menu1.meta = new AdminRightListItemMeta();