完善功能
This commit is contained in:
@@ -18,6 +18,8 @@ namespace 电子展板.Utility.Extension
|
||||
}
|
||||
public static string Root(string vPath)
|
||||
{
|
||||
if (vPath == null)
|
||||
vPath = "";
|
||||
string path = Environment.CurrentDirectory.Replace("/", "\\");
|
||||
if (!path.EndsWith("\\")) path += "\\";
|
||||
vPath = vPath.Replace("/", "\\");
|
||||
|
||||
Reference in New Issue
Block a user