Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
1d6c8a26
Commit
1d6c8a26
authored
Aug 23, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3d597f4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
onNotSuccess.ts
egret/libs/new_wx/onNotSuccess.ts
+2
-2
No files found.
egret/libs/new_wx/onNotSuccess.ts
View file @
1d6c8a26
...
...
@@ -10,8 +10,8 @@ export default (data?: Data, netname?: NetName) => {
showToast
(
'网络异常
\
n请隔一段时间再尝试'
);
else
if
(
data
.
code
==
'2002007013'
)
showToast
(
'元宝不足哦,快去玩游戏赢元宝吧'
);
else
if
(
data
.
code
==
'
E100201001
'
)
showToast
(
'
请登录后重试。
'
)
else
if
(
data
.
code
==
'
600005
'
)
showToast
(
'
体力值已达上限,不可购买
'
)
else
//其他异常
showToast
(
'网络异常
\
n请隔一段时间再尝试'
)
}
...
...
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