fix windows export html image path bug

This commit is contained in:
life
2016-04-14 19:10:10 +08:00
parent 4903aaf901
commit 8db8403671

View File

@@ -141,7 +141,7 @@ define(function() {
// 得到存放images, js, css的路径
getAssetsPath: function(basePath, nameNotExt, n, cb) {
var me = this;
var absPath = basePath + '/' + nameNotExt + '_files';
var absPath = basePath + Api.commonService.getPathSep() + nameNotExt + '_files';
if (n > 1) {
absPath += '-' + n;
}