style: lint

This commit is contained in:
手瓜一十雪 committed 2024-05-22 20:58:49 +08:00
1 parent b29f533a3b
commit ac5506a43b
48 files changed
+1027 -1115

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export default class SetAvatar extends BaseAction<Payload, null> {
actionName = ActionName.SetQQAvatar;
// 用不着复杂检测
protected async check(payload: Payload): Promise<BaseCheckResult> {
if (!payload.file || typeof payload.file != "string") {
if (!payload.file || typeof payload.file != 'string') {
return {
valid: false,
message: 'file字段不能为空或者类型错误',