fix: 规范化类型

This commit is contained in:
手瓜一十雪
2024-11-21 10:43:05 +08:00
parent 38a098c77d
commit 583ec10c7c
5 changed files with 101 additions and 33 deletions

View File

@@ -125,7 +125,7 @@ export class NTQQFileApi {
fileName: fileName,
sourcePath: path,
original: true,
picType: isGIF(picPath) ? PicType.gif : PicType.jpg,
picType: isGIF(picPath) ? PicType.GIF : PicType.JGP,
picSubType: subType,
fileUuid: '',
fileSubId: '',