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
e02acc57
Commit
e02acc57
authored
Jan 15, 2016
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(view): fixed bug of naotu diplaying when the resource of node contains null
parent
41767e33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
resource.js
src/module/resource.js
+9
-0
No files found.
src/module/resource.js
View file @
e02acc57
...
@@ -262,6 +262,15 @@ define(function(require, exports, module) {
...
@@ -262,6 +262,15 @@ define(function(require, exports, module) {
x
=
0
;
x
=
0
;
for
(
i
=
0
;
i
<
resource
.
length
;
i
++
)
{
for
(
i
=
0
;
i
<
resource
.
length
;
i
++
)
{
/* 修复 resource 数组中出现 null 的 bug
* @Author zhangbobell
* @date 2016-01-15
*/
if
(
!
resource
[
i
])
{
continue
;
}
x
+=
spaceRight
;
x
+=
spaceRight
;
overlay
=
overlays
[
i
];
overlay
=
overlays
[
i
];
...
...
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