export fix path for windows

This commit is contained in:
life
2016-01-01 21:04:09 +08:00
parent 739524205c
commit dd12dccede
3 changed files with 6 additions and 5 deletions

View File

@@ -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);