chore: style&&lint

This commit is contained in:
手瓜一十雪
2024-08-22 14:12:24 +08:00
parent 71a2e52739
commit 50177cd6bd
14 changed files with 82 additions and 82 deletions

View File

@@ -44,9 +44,9 @@ export default class SetGroupPortrait extends BaseAction<Payload, any> {
}
// log(`头像设置返回:${JSON.stringify(ret)}`)
if (ret['result'] == 1004022) {
throw `头像${payload.file}设置失败,文件可能不是图片格式或权限不足`;
throw `头像${payload.file}设置失败,文件可能不是图片格式或权限不足`;
} else if (ret['result'] != 0) {
throw `头像${payload.file}设置失败,未知的错误,${ret['result']}:${ret['errMsg']}`;
throw `头像${payload.file}设置失败,未知的错误,${ret['result']}:${ret['errMsg']}`;
}
return ret;
} else {