style: 标准化样式

This commit is contained in:
手瓜一十雪 committed 2024-08-25 21:37:36 +08:00
1 parent 72d256e61a
commit 29f79fcc6c
7 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ class MarkMsgAsRead extends BaseAction<PlayloadType, null> {
// 调用API
const ret = await NTQQMsgApi.setMsgRead(await this.getPeer(payload));
if (ret.result != 0) {
throw ('设置已读失败,' + ret.errMsg);
throw new Error('设置已读失败,' + ret.errMsg);
}
return null;
}