From 8db84036712de8dd25ad66b44a3c069d2828b17b Mon Sep 17 00:00:00 2001 From: life Date: Thu, 14 Apr 2016 19:10:10 +0800 Subject: [PATCH] fix windows export html image path bug --- public/plugins/export_html/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/plugins/export_html/plugin.js b/public/plugins/export_html/plugin.js index a7c9b9d2..98da7b6d 100644 --- a/public/plugins/export_html/plugin.js +++ b/public/plugins/export_html/plugin.js @@ -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; }