Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_08_360
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
OP_08_360
Commits
3e18d4e9
Commit
3e18d4e9
authored
Apr 28, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
be598ac5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
6 deletions
+39
-6
.DS_Store
.DS_Store
+0
-0
OP_08_360.meta
assets/OP_08_360.meta
+15
-1
OP_08_360.js
assets/OP_08_360/scene/OP_08_360.js
+24
-5
No files found.
.DS_Store
View file @
3e18d4e9
No preview for this file type
assets/OP_08_360.meta
View file @
3e18d4e9
{"ver":"1.1.2","uuid":"d37d6cc8-eb4f-4cec-8d17-f1747de82efe","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "d37d6cc8-eb4f-4cec-8d17-f1747de82efe",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/OP_08_360/scene/OP_08_360.js
View file @
3e18d4e9
...
...
@@ -2833,18 +2833,37 @@ cc.Class({
// console.log('len: ', len);
if
(
labelText
.
length
==
1
)
{
if
(
labelText
.
toLowerCase
().
indexOf
(
targetLabelText
.
toLowerCase
())
!=
-
1
)
{
answerData
[
key
]
=
{
isFinish
:
true
};
}
const
index
=
labelText
.
indexOf
(
"
||
"
);
if
(
index
!=
-
1
)
{
const
keyArr
=
labelText
.
split
(
"
||
"
);
for
(
let
j
=
0
;
j
<
keyArr
.
length
;
j
++
)
{
if
(
targetLabelText
.
indexOf
(
keyArr
[
j
])
!=
-
1
)
{
answerData
[
key
]
=
{
isFinish
:
true
};
break
;
}
}
}
else
{
if
(
labelText
==
targetLabelText
)
{
if
(
targetLabelText
.
indexOf
(
labelText
)
!=
-
1
)
{
answerData
[
key
]
=
{
isFinish
:
true
};
}
}
// if (labelText.length == 1) {
// if (labelText.toLowerCase().indexOf(targetLabelText.toLowerCase()) != -1 ) {
// answerData[key] = {isFinish: true};
// }
// } else {
// if (labelText == targetLabelText) {
// answerData[key] = {isFinish: true};
// }
// }
}
...
...
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