Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e2c15715
authored
Nov 22, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
1 parent
a8b51d1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
public/drawio/js/diagramly/App.js
public/drawio/js/diagramly/App.js
View file @
e2c1571
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment