feat: 广告还有角色异常报错

This commit is contained in:
chashaobao
2025-07-12 15:28:40 +08:00
parent 42d1208ee4
commit 80846d507f
10 changed files with 17 additions and 26 deletions

View File

@ -167,6 +167,9 @@ export default function MessageChat() {
) {
tips = '今日申请交换联系方式次数已用完当前每日限制为5次';
duration = 3000;
} else if (errorCode === RESPONSE_ERROR_CODE.CHAT_MSG_SEND_NOT_ALLOW) {
tips = '账号已在另一台设备上切换身份,本条消息未发送成功,请在本设备重新切换身份后,再发送消息';
duration = 5000;
}
tips.length > 7 ? Toast.info(tips, duration) : Toast.error(tips, duration);
}