提交 9821bc01 编写于 作者: 蔡祥熠

Merge branch 'git/fix_minder_save_execption' into 'develop'

Merge of git/fix_minder_save_execption 修复脑图导出图片问题 to develop

See merge request o2oa/o2oa!1730

(cherry picked from commit 17065b17)

b98bfeb0 修复新建脑图保存出错的问题
上级 3c93175c
......@@ -385,10 +385,12 @@ MWF.xApplication.MinderEditor.MainMenu = new Class({
formData.append('file', img, title+".png");
formData.append('site', id);
debugger;
MWF.xDesktop.uploadImageByScale( id, "mindInfo", -1, formData, img,
function(json){
var url = o2.Actions.load("x_file_assemble_control").FileAction.action.actions.downloadStream.uri.replace( "{id}", json.data.id );
url = o2.filterUrl( o2.Actions.load("x_file_assemble_control").FileAction.action.address + url);
url = o2.filterUrl( o2.Actions.load("x_file_assemble_control").FileAction.action.getAddress() + url);
window.open(url);
}.bind(this)
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册