mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-21 19:24:00 +00:00
修复Files APP的一个bug
This commit is contained in:
@@ -50,6 +50,11 @@ namespace CMLeonOS.Utils
|
||||
rest = rest.TrimEnd('/');
|
||||
rest = rest.TrimEnd('\\');
|
||||
|
||||
if (hasDrive && string.IsNullOrWhiteSpace(rest))
|
||||
{
|
||||
return drive + @"\";
|
||||
}
|
||||
|
||||
return drive + rest;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user