Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shuijf
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
wildfirecode13
shuijf
Commits
3451694b
Commit
3451694b
authored
Jun 26, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
73e03b4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
SceneStart.ts
assets/scripts/scenes/SceneStart.ts
+3
-3
dojion.json
mock/customActivity/sjf/activity/dojion.json
+2
-2
No files found.
assets/scripts/scenes/SceneStart.ts
View file @
3451694b
...
...
@@ -106,13 +106,13 @@ export default class SceneStart extends ScillaComponent implements INavigatorVie
onGotDojoinError
(
error
)
{
this
.
startbtn
.
getComponent
(
Button
).
enabled
=
true
;
if
(
error
===
'
0
'
)
{
if
(
error
===
'
400001
'
)
{
this
.
bubbling
(
'showToast'
,
'活动还未开始
\
n敬请期待~'
);
}
else
if
(
error
===
'
1
'
)
{
else
if
(
error
===
'
400005
'
)
{
this
.
bubbling
(
'showToast'
,
'活动已结束
\
n下次早点来哦~'
);
}
else
if
(
error
===
'2'
)
{
else
if
(
error
===
'
40000
2'
)
{
this
.
bubbling
(
'showDialog'
,
'Alert'
,
'您已经没有抽奖机会了'
);
}
else
{
...
...
mock/customActivity/sjf/activity/dojion.json
View file @
3451694b
{
"success"
:
tru
e
,
"code"
:
""
,
"success"
:
fals
e
,
"code"
:
"
400001
"
,
"desc"
:
null
,
"timestamp"
:
1561445946866
,
"data"
:
{
...
...
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