Commit 1eeee1fe authored by wildfirecode13's avatar wildfirecode13

1

parent 94b7e40d
......@@ -168,10 +168,10 @@ class Select extends Component {
// Toast(msg);
switch (updateuinfo.code) {
case 10004:
case '10004':
Toast('存在敏感词,请重新检查昵称')
break;
case 10005:
case '10005':
Toast('网络错误,发放欢趣豆失败')
break;
default:
......
......@@ -42,11 +42,12 @@ class Sign extends Component {
}
} else {
switch (res.code) {
case 10010:
case '10010':
Toast('网络错误,请联系客服')
break;
default:
Toast(res.message || '网络异常,请稍后重试~')
Toast('网络错误,请联系客服')
// Toast(res.message || '网络异常,请稍后重试~')
}
}
});
......
......@@ -36,13 +36,13 @@ class Userinfo extends Component {
this.props.onClose();
} else {
switch (res.code) {
case 10004:
case '10004':
Toast('存在敏感词,请重新检查昵称')
break;
case 10005:
case '10005':
Toast('网络错误,发放欢趣豆失败')
break;
case 10011:
case '10011':
Toast('今天不可修改昵称哦~请明天再试试')
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment