mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 23:55:50 +00:00
export fix path for windows
This commit is contained in:
@@ -287,7 +287,7 @@ define(function() {
|
||||
var name = note.Title ? note.Title + '.pdf' : getMsg('Untitled') + '.pdf';
|
||||
name = me.fixFilename(name);
|
||||
|
||||
var targetPath = path + '/' + name;
|
||||
var targetPath = path + Api.commonService.getPathSep() + name;
|
||||
|
||||
// 将路径和名字区分开
|
||||
var pathInfo = Api.commonService.splitFile(targetPath);
|
||||
|
Reference in New Issue
Block a user