Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
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
崔立强
db-game-template
Commits
c3bc6f5d
Commit
c3bc6f5d
authored
Dec 16, 2019
by
XieChuanJin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
滑块验证分数的>=
parent
1e6c9d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MainScene.ts
egret/src/Scene/MainScene.ts
+1
-1
No files found.
egret/src/Scene/MainScene.ts
View file @
c3bc6f5d
...
@@ -522,7 +522,7 @@ export default class MainScene extends Scene implements Decorator.IDefaultCallba
...
@@ -522,7 +522,7 @@ export default class MainScene extends Scene implements Decorator.IDefaultCallba
//滑块验证
//滑块验证
let
validate
=
await
new
Promise
<
string
>
(
resolve
=>
{
let
validate
=
await
new
Promise
<
string
>
(
resolve
=>
{
if
(
typeof
GameMgr
.
instance
.
minEnableCaptchaScore
==
"number"
&&
this
.
score
>
GameMgr
.
instance
.
minEnableCaptchaScore
)
{
if
(
typeof
GameMgr
.
instance
.
minEnableCaptchaScore
==
"number"
&&
this
.
score
>
=
GameMgr
.
instance
.
minEnableCaptchaScore
)
{
initNECaptcha
({
initNECaptcha
({
captchaId
:
MConst
.
captchaId
,
captchaId
:
MConst
.
captchaId
,
callback
:
(
ret
:
{
validate
:
string
})
=>
{
callback
:
(
ret
:
{
validate
:
string
})
=>
{
...
...
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