Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DG_FAF
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
DG_FAF
Commits
ab7a0a67
Commit
ab7a0a67
authored
May 09, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复人数索引为null时导致的显示异常
parent
18f5d9ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3947 additions
and
2 deletions
+3947
-2
DG_FAF.ts
assets/DG_FAF/scene/DG_FAF.ts
+1
-1
defaultData_DG_FAF.ts
assets/DG_FAF/script/defaultData_DG_FAF.ts
+3946
-1
No files found.
assets/DG_FAF/scene/DG_FAF.ts
View file @
ab7a0a67
...
...
@@ -712,7 +712,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
data
.
scoreConfigArr
)
{
this
.
data
.
scoreConfigArr
.
forEach
(
scoreConfig
=>
{
// 若果索引不是数字 或者 索引小于0 则认为是没有配置索引
if
(
isNaN
(
Number
(
scoreConfig
.
linkHotZoneIndex
))
||
Number
(
scoreConfig
.
linkHotZoneIndex
)
<
0
)
{
if
(
scoreConfig
.
linkHotZoneIndex
==
null
||
isNaN
(
Number
(
scoreConfig
.
linkHotZoneIndex
))
||
Number
(
scoreConfig
.
linkHotZoneIndex
)
<
0
)
{
this
.
subScorePanels
.
push
({
node
:
null
,
setScore
:
(
score
)
=>
{},
...
...
assets/DG_FAF/script/defaultData_DG_FAF.ts
View file @
ab7a0a67
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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