Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
390ac49a
Commit
390ac49a
authored
May 07, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added expand and collapse
parent
37503c8d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
kityminder.config.js
kityminder.config.js
+5
-5
layout.default.js
src/module/layout.default.js
+0
-1
No files found.
kityminder.config.js
View file @
390ac49a
...
...
@@ -82,10 +82,10 @@
//,zIndex : 1000
//设置初始加载时展开的层数和子节点数目阈值
//默认是全部展开,0表示全部展开
,
defaultExpand
:
{
defaultLayer
:
2
,
defaultSubShow
:
5
}
//
,
//
defaultExpand: {
//
defaultLayer: 2,
//
defaultSubShow: 5
//
}
};
}
)();
\ No newline at end of file
src/module/layout.default.js
View file @
390ac49a
...
...
@@ -510,7 +510,6 @@ KityMinder.registerModule( "LayoutDefault", function () {
initStyle
:
function
()
{
//渲染根节点
var
_root
=
minder
.
getRoot
();
console
.
log
(
_root
);
var
historyPoint
=
_root
.
getPoint
();
if
(
historyPoint
)
historyPoint
=
JSON
.
parse
(
JSON
.
stringify
(
historyPoint
)
);
minder
.
handelNodeInsert
(
_root
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment