Commit ee48e5ec authored by Medicean's avatar Medicean

(BugFix:FileManager) 移除切换目录时对.$的替换

parent c5f79f33
...@@ -136,7 +136,7 @@ class FileManager { ...@@ -136,7 +136,7 @@ class FileManager {
let self = this; let self = this;
if(self.isWin) { // 处理输入为 f:\ 这种情况 if(self.isWin) { // 处理输入为 f:\ 这种情况
p = p.replace(/\\/g, '/').replace(/\.$/, ''); p = p.replace(/\\/g, '/');
p = p.substr(1,2) == ":/" ? `${p.substr(0,1).toUpperCase()}${p.substr(1)}` : p; p = p.substr(1,2) == ":/" ? `${p.substr(0,1).toUpperCase()}${p.substr(1)}` : p;
} }
let path = this.changePath(p); let path = this.changePath(p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment