Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OPW25
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
OPW25
Commits
42c95812
Commit
42c95812
authored
3 years ago
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: length错误
parent
54c8ce84
master
v10
v9
v8
v7
v6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
OPW25.js
play/assets/OPW25/scene/OPW25.js
+6
-6
No files found.
play/assets/OPW25/scene/OPW25.js
View file @
42c95812
...
@@ -188,7 +188,7 @@ cc.Class({
...
@@ -188,7 +188,7 @@ cc.Class({
});
});
},
},
initStars
()
{
initStars
()
{
// this.len
gth
= CardManager.getIns().getTestlet();
// this.len = CardManager.getIns().getTestlet();
// this.addStar();
// this.addStar();
},
},
initLayout
()
{
initLayout
()
{
...
@@ -414,13 +414,13 @@ cc.Class({
...
@@ -414,13 +414,13 @@ cc.Class({
})
})
});
});
},
},
len
gth
,
len
:
null
,
addStar
()
{
addStar
()
{
if
(
!
this
.
len
gth
)
{
if
(
!
this
.
len
)
{
this
.
len
gth
=
0
;
this
.
len
=
0
;
}
}
this
.
len
gth
++
;
this
.
len
++
;
let
length
=
this
.
len
gth
;
let
length
=
this
.
len
;
const
starLayout
=
cc
.
find
(
'
Canvas/layout_stars
'
);
const
starLayout
=
cc
.
find
(
'
Canvas/layout_stars
'
);
starLayout
.
removeAllChildren
();
starLayout
.
removeAllChildren
();
...
...
This diff is collapsed.
Click to expand it.
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