mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-15 15:41:19 +00:00
fix windows export html image path bug
This commit is contained in:
@@ -141,7 +141,7 @@ define(function() {
|
|||||||
// 得到存放images, js, css的路径
|
// 得到存放images, js, css的路径
|
||||||
getAssetsPath: function(basePath, nameNotExt, n, cb) {
|
getAssetsPath: function(basePath, nameNotExt, n, cb) {
|
||||||
var me = this;
|
var me = this;
|
||||||
var absPath = basePath + '/' + nameNotExt + '_files';
|
var absPath = basePath + Api.commonService.getPathSep() + nameNotExt + '_files';
|
||||||
if (n > 1) {
|
if (n > 1) {
|
||||||
absPath += '-' + n;
|
absPath += '-' + n;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user