Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
1eeee1fe
Commit
1eeee1fe
authored
Dec 26, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
94b7e40d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
select.jsx
project/src/components/select/select.jsx
+2
-2
sign.jsx
project/src/components/sign/sign.jsx
+4
-3
userinfo.jsx
project/src/components/userinfo/userinfo.jsx
+3
-3
No files found.
project/src/components/select/select.jsx
View file @
1eeee1fe
...
@@ -168,10 +168,10 @@ class Select extends Component {
...
@@ -168,10 +168,10 @@ class Select extends Component {
// Toast(msg);
// Toast(msg);
switch
(
updateuinfo
.
code
)
{
switch
(
updateuinfo
.
code
)
{
case
10004
:
case
'10004'
:
Toast
(
'存在敏感词,请重新检查昵称'
)
Toast
(
'存在敏感词,请重新检查昵称'
)
break
;
break
;
case
10005
:
case
'10005'
:
Toast
(
'网络错误,发放欢趣豆失败'
)
Toast
(
'网络错误,发放欢趣豆失败'
)
break
;
break
;
default
:
default
:
...
...
project/src/components/sign/sign.jsx
View file @
1eeee1fe
...
@@ -42,11 +42,12 @@ class Sign extends Component {
...
@@ -42,11 +42,12 @@ class Sign extends Component {
}
}
}
else
{
}
else
{
switch
(
res
.
code
)
{
switch
(
res
.
code
)
{
case
10010
:
case
'10010'
:
Toast
(
'网络错误,请联系客服'
)
Toast
(
'网络错误,请联系客服'
)
break
;
break
;
default
:
default
:
Toast
(
res
.
message
||
'网络异常,请稍后重试~'
)
Toast
(
'网络错误,请联系客服'
)
// Toast(res.message || '网络异常,请稍后重试~')
}
}
}
}
});
});
...
...
project/src/components/userinfo/userinfo.jsx
View file @
1eeee1fe
...
@@ -36,13 +36,13 @@ class Userinfo extends Component {
...
@@ -36,13 +36,13 @@ class Userinfo extends Component {
this
.
props
.
onClose
();
this
.
props
.
onClose
();
}
else
{
}
else
{
switch
(
res
.
code
)
{
switch
(
res
.
code
)
{
case
10004
:
case
'10004'
:
Toast
(
'存在敏感词,请重新检查昵称'
)
Toast
(
'存在敏感词,请重新检查昵称'
)
break
;
break
;
case
10005
:
case
'10005'
:
Toast
(
'网络错误,发放欢趣豆失败'
)
Toast
(
'网络错误,发放欢趣豆失败'
)
break
;
break
;
case
10011
:
case
'10011'
:
Toast
(
'今天不可修改昵称哦~请明天再试试'
)
Toast
(
'今天不可修改昵称哦~请明天再试试'
)
break
;
break
;
default
:
default
:
...
...
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