Commit e2c15715 by liuyong

修改bug

1 parent a8b51d1b
Showing with 2 additions and 2 deletions
......@@ -4373,7 +4373,7 @@ App.prototype.showSplash = function(force)
fileObject: null,
aliveCheck: null
};
this.setDatabaseItem('.draft_' + Editor.guid(), JSON.stringify(draft));
// this.setDatabaseItem('.draft_' + Editor.guid(), JSON.stringify(draft));
}else if (urlParams['id'] == 2) {//二次开发----如果有id,表示打开了一个存在的文档,进入编辑模式,这里的mockFile只是个例子,业务架构资产管理
const mockFile = {
title: '业务架构资产管理.drawio',
......@@ -4455,7 +4455,7 @@ App.prototype.showSplash = function(force)
fileObject: null,
aliveCheck: null
};
this.setDatabaseItem('.draft_' + Editor.guid(), JSON.stringify(draft));
// this.setDatabaseItem('.draft_' + Editor.guid(), JSON.stringify(draft));
}
else if (!mxClient.IS_CHROMEAPP && (this.mode == null || force))
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!