Skip to content

Commit

Permalink
(BugFix:FileManager) 移除切换目录时对.$的替换
Browse files Browse the repository at this point in the history
  • Loading branch information
Medicean committed Jan 18, 2019
1 parent c5f79f3 commit ee48e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/modules/filemanager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class FileManager {

let self = this;
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;
}
let path = this.changePath(p);
Expand Down

0 comments on commit ee48e5e

Please sign in to comment.